Class: JsonPath::Nodes::Array
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(path, values) ⇒ Array
constructor
A new instance of Array.
- #value ⇒ Object
Methods inherited from Base
Constructor Details
Instance Method Details
#value ⇒ Object
14 15 16 |
# File 'lib/json_path/nodes/array.rb', line 14 def value elements.map(&:value) end |