class Remap::Selector

Defines how a path element, or selector Specifies how a value is extracted from a state

Public Instance Methods

call(state) click to toggle source

Selects value from state, package it as a state and passes it to block

@param state [State]

@yieldparam [State] @yieldreturn [State]

@return [State]

@abstract

# File lib/remap/selector.rb, line 17
def call(state)
  raise NotImplementedError, "#{self.class}#call not implemented"
end