Class: Remap::Constructor::None

Inherits:
Concrete
  • Object
show all
Defined in:
lib/remap/constructor/none.rb

Overview

Default type used by Base

Instance Method Summary collapse

Instance Method Details

#call(state) ⇒ State

Used by Base as a default constructor Using it does nothing but return its input state

Parameters:

Returns:



17
18
19
# File 'lib/remap/constructor/none.rb', line 17

def call(state)
  state
end