class JMESPath::Nodes::ArrayProjection

Public Instance Methods

extract_targets(target) click to toggle source
# File lib/jmespath/nodes/projection.rb, line 45
def extract_targets(target)
  target.to_ary if target.respond_to?(:to_ary)
end
fast_instance() click to toggle source
# File lib/jmespath/nodes/projection.rb, line 49
def fast_instance
  FastArrayProjection.new(@target.optimize, @projection.optimize)
end