Class: Lab42::Curry::ComputedArg
- Inherits:
-
Object
- Object
- Lab42::Curry::ComputedArg
- Defined in:
- lib/lab42/curry/computed_arg.rb
Instance Attribute Summary collapse
-
#position ⇒ Object
readonly
Returns the value of attribute position.
Instance Method Summary collapse
Instance Attribute Details
#position ⇒ Object (readonly)
Returns the value of attribute position.
5 6 7 |
# File 'lib/lab42/curry/computed_arg.rb', line 5 def position @position end |
Instance Method Details
#call(*args, **kwds) ⇒ Object
7 8 9 |
# File 'lib/lab42/curry/computed_arg.rb', line 7 def call(*args, **kwds) @blk.call(*args, **kwds) end |