Class: Ruby::NamedAggregate
- Inherits:
-
DelimitedAggregate
- Object
- Node
- Aggregate
- DelimitedAggregate
- Ruby::NamedAggregate
- Defined in:
- lib/ruby/aggregate.rb
Instance Attribute Summary
Attributes included from Ruby::Node::Composite
Instance Method Summary collapse
-
#initialize(identifier, ldelim = nil, rdelim = nil) ⇒ NamedAggregate
constructor
A new instance of NamedAggregate.
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 Ruby::Node::Traversal
#has_token?, #has_type?, #has_value?, #is_instance_of?, #left_of?, #matches?, #position?, #right_of?, #select
Methods included from Ruby::Node::Source
#context, #filename, #line, #lines, #src
Methods included from Ruby::Node::Composite
Constructor Details
#initialize(identifier, ldelim = nil, rdelim = nil) ⇒ NamedAggregate
Returns a new instance of NamedAggregate.
41 42 43 44 |
# File 'lib/ruby/aggregate.rb', line 41 def initialize(identifier, ldelim = nil, rdelim = nil) self.identifier = identifier super(ldelim, rdelim) end |