Class: Extract::ArrayValue
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Extract::Base
Instance Method Details
#value ⇒ Object
5 6 7 8 9 10 |
# File 'lib/src/extract/array_value.rb', line 5 def value props, path = node.to_h.values_at(:props, :path) props.map do |prop| ValueBuilder.new(Node.new(prop, path), extractor).value end.flatten end |