Class: Extract::ArrayOf
Instance Method Summary collapse
-
#initialize(node, extractor, index = 0) ⇒ ArrayOf
constructor
A new instance of ArrayOf.
- #value ⇒ Object
Constructor Details
#initialize(node, extractor, index = 0) ⇒ ArrayOf
Returns a new instance of ArrayOf.
3 4 5 6 |
# File 'lib/src/extract/array_of.rb', line 3 def initialize(node, extractor, index = 0) super(node, extractor) @index = index end |
Instance Method Details
#value ⇒ Object
8 9 10 |
# File 'lib/src/extract/array_of.rb', line 8 def value process_paths.flatten.compact end |