Class: Function
- Inherits:
-
Object
- Object
- Function
- Defined in:
- lib/naksh/syntax/bash/dhaka/evaluator.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize(args, body) ⇒ Function
constructor
A new instance of Function.
Constructor Details
#initialize(args, body) ⇒ Function
Returns a new instance of Function.
349 350 351 352 |
# File 'lib/naksh/syntax/bash/dhaka/evaluator.rb', line 349 def initialize(args, body) @args = args @body = body end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
348 349 350 |
# File 'lib/naksh/syntax/bash/dhaka/evaluator.rb', line 348 def args @args end |
#body ⇒ Object (readonly)
Returns the value of attribute body.
348 349 350 |
# File 'lib/naksh/syntax/bash/dhaka/evaluator.rb', line 348 def body @body end |