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.
5 6 7 8 |
# File 'lib/src/extract/array_of.rb', line 5 def initialize(node, extractor, index = 0) super(node, extractor) @index = index end |
Instance Method Details
#value ⇒ Object
10 11 12 |
# File 'lib/src/extract/array_of.rb', line 10 def value process_paths.flatten.compact end |