Class: Remap::Static
- Inherits:
-
Dry::Interface
- Object
- Dry::Interface
- Remap::Static
- Defined in:
- lib/remap/static.rb,
lib/remap/static/fixed.rb,
lib/remap/static/option.rb
Overview
A static mapped value either represented by an option or a value
Defined Under Namespace
Instance Method Summary collapse
-
#call(state) ⇒ State<Y>
abstract
Maps a static value to state.
Instance Method Details
#call(state) ⇒ State<Y>
This method is abstract.
Maps a static value to state
15 16 17 |
# File 'lib/remap/static.rb', line 15 def call(state) raise NotImplementedError, "#{self.class}#call not implemented" end |