class Remap::Static

A static mapped value either represented by an option or a value

Public Instance Methods

call(state) click to toggle source

Maps a static value to state

@param state [State<T>]

@return [State<Y>]

@abstract

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