class Remap::Path

Represents a sequence of keys and selects or maps a value given a path

Public Instance Methods

call(state) click to toggle source

@return [State]

@abstract

# File lib/remap/path.rb, line 13
def call(state)
  raise NotImplementedError, "#{self.class}#call not implemented"
end
to_proc() click to toggle source

@return [Proc]

# File lib/remap/path.rb, line 18
def to_proc
  method(:call).to_proc
end