Class: Remap::Rule::Void
- Inherits:
-
Remap::Rule
- Object
- Dry::Concrete
- Remap::Rule
- Remap::Rule::Void
- Defined in:
- lib/remap/rule/void.rb
Instance Method Summary collapse
-
#call(state) ⇒ State
Returns its input.
Instance Method Details
#call(state) ⇒ State
Returns its input
24 25 26 |
# File 'lib/remap/rule/void.rb', line 24 def call(state) state.bind { _2.set(_1) } end |