Subject: [PATCH 10/27] gnu: Add ruby-lazy-object.

From: Stephen Paul Weber <[email-masked]>
Date: Sat, 11 Sep 2021 22:05:15 -0500

* gnu/packages/ruby.scm (ruby-lazy-object): New variable.
---
 gnu/packages/ruby.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 20b6287723..2fa797eeec 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -12771,3 +12771,25 @@ plus extensible, lightweight validation and coercion.")
     (home-page
       "https://github.com/multiformats/ruby-multihash")
     (license license:expat)))
+
+(define-public ruby-lazy-object
+  (package
+    (name "ruby-lazy-object")
+    (version "0.0.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "lazy_object" version))
+        (sha256
+          (base32
+            "08px15lahc28ik9smvw1hgamf792gd6gq0s4k94yq1h7jq25wjn8"))))
+    (build-system ruby-build-system)
+    (arguments
+     '(#:test-target "spec"))
+    (synopsis
+      "Object wrapper that forwards all calls to the reference object")
+    (description
+      "It's an object wrapper that forwards all calls to the reference object.
+This object is not created until the first method dispatch.")
+    (home-page "https://github.com/HornsAndHooves/lazy_object")
+    (license license:expat)))
-- 
2.20.1