Class: Proc::RecursiveStep
- Inherits:
-
Object
- Object
- Proc::RecursiveStep
- Defined in:
- lib/function.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
Instance Method Summary collapse
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
24 25 26 |
# File 'lib/function.rb', line 24 def args @args end |
Instance Method Details
#call(*args) ⇒ Object
26 27 28 29 |
# File 'lib/function.rb', line 26 def call(*args) @args = args self end |