JMESPath::Nodes::Slice
# File lib/jmespath/nodes/slice.rb, line 79 def initialize(start, stop) super(start, stop, 1) end
# File lib/jmespath/nodes/slice.rb, line 83 def visit(value) if String === value || Array === value value[@start, @stop - @start] else nil end end