# File lib/jmespath/nodes/slice.rb, line 5 def initialize(start, stop, step) @start = start @stop = stop @step = step raise Errors::InvalidValueError.new('slice step cannot be 0') if @step == 0 end