Class: Iolite::Lazy
- Inherits:
- BasicObject
- Includes:
- Adaptor::Apply, Adaptor::Bind, Adaptor::Callable, Adaptor::MethodMissing, Adaptor::Operators, Adaptor::Send, Adaptor::ToLazy, Adaptor::ToProc
- Defined in:
- lib/iolite/lazy.rb,
lib/iolite/adaptored/iolite_lazy_with_hash.rb
Instance Method Summary collapse
- #call(*args) ⇒ Object
- #hash ⇒ Object
-
#initialize(&block) ⇒ Lazy
constructor
A new instance of Lazy.
Methods included from Adaptor::ToLazy
Methods included from Adaptor::Operators
Methods included from Adaptor::Apply
Methods included from Adaptor::ToProc
Methods included from Adaptor::MethodMissing
Methods included from Adaptor::Send
Methods included from Adaptor::Bind
Methods included from Adaptor::Callable
Constructor Details
#initialize(&block) ⇒ Lazy
15 16 17 |
# File 'lib/iolite/lazy.rb', line 15 def initialize &block @block = block end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Iolite::Adaptor::MethodMissing