Class: Ruby::DelimitedAggregate
- Defined in:
- lib/ruby/aggregate.rb
Direct Known Subclasses
Arg, Const, DelimitedVariable, Module, NamedAggregate, Operator, Param, Symbol
Instance Attribute Summary
Attributes included from Node::Composite
Instance Method Summary collapse
-
#initialize(ldelim = nil, rdelim = nil) ⇒ DelimitedAggregate
constructor
A new instance of DelimitedAggregate.
Methods inherited from Aggregate
#position, #position=, #prolog, #prolog=, #to_ruby
Methods inherited from Node
#<=>, #all_nodes, #column, #length, #nodes, #row
Methods included from Conversions
Methods included from Node::Traversal
#has_token?, #has_type?, #has_value?, #is_instance_of?, #left_of?, #matches?, #position?, #right_of?, #select
Methods included from Node::Source
#context, #filename, #line, #lines, #src
Methods included from Node::Composite
Constructor Details
#initialize(ldelim = nil, rdelim = nil) ⇒ DelimitedAggregate
Returns a new instance of DelimitedAggregate.
32 33 34 35 |
# File 'lib/ruby/aggregate.rb', line 32 def initialize(ldelim = nil, rdelim = nil) self.ldelim = ldelim self.rdelim = rdelim end |