Class: Remap::Rule::Embed
- Inherits:
-
Value
- Object
- Value
- Remap::Rule::Embed
- Defined in:
- lib/remap/rule/embed.rb
Instance Method Summary collapse
-
#call(state) ⇒ State
Evaluates input against mapper and returns the result.
Instance Method Details
#call(state) ⇒ State
Evaluates input against mapper and returns the result
35 36 37 38 39 |
# File 'lib/remap/rule/embed.rb', line 35 def call(state) mapper.call!(state.set(mapper: mapper)) do |error| return state.problem(error) end end |