Class: CodeTools::AST::PostArg
- Defined in:
- lib/rubinius/code/ast/variables.rb
Instance Attribute Summary collapse
-
#into ⇒ Object
Returns the value of attribute into.
-
#rest ⇒ Object
Returns the value of attribute rest.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(line, into, rest) ⇒ PostArg
constructor
A new instance of PostArg.
Methods inherited from Node
#ascii_graph, #attributes, #bytecode, #children, #defined, match_arguments?, match_send?, #new_block_generator, #new_generator, #node_name, #or_bytecode, #pos, #set_child, #to_sexp, #transform, transform, transform_comment, transform_kind, transform_kind=, transform_name, #value_defined, #visit, #walk
Constructor Details
#initialize(line, into, rest) ⇒ PostArg
Returns a new instance of PostArg.
534 535 536 537 538 |
# File 'lib/rubinius/code/ast/variables.rb', line 534 def initialize(line, into, rest) @line = line @into = into @rest = rest end |
Instance Attribute Details
#into ⇒ Object
Returns the value of attribute into.
532 533 534 |
# File 'lib/rubinius/code/ast/variables.rb', line 532 def into @into end |
#rest ⇒ Object
Returns the value of attribute rest.
532 533 534 |
# File 'lib/rubinius/code/ast/variables.rb', line 532 def rest @rest end |