Class: Ruby::Array
- Inherits:
-
DelimitedList
- Object
- Node
- Aggregate
- List
- DelimitedList
- Ruby::Array
- Defined in:
- lib/ruby/array.rb
Instance Attribute Summary
Attributes included from Node::Composite
Instance Method Summary collapse
Methods inherited from DelimitedList
Methods inherited from List
#initialize, #method_missing, #nodes
Methods included from Ruby::Alternation::List
Methods included from Conversions::List
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
This class inherits a constructor from Ruby::DelimitedList
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Ruby::List
Instance Method Details
#value ⇒ Object
5 6 7 |
# File 'lib/ruby/array.rb', line 5 def value elements.map { |element| element.value } end |