Class: Remap::Path::Output
- Inherits:
-
Unit
- Object
- Unit
- Remap::Path::Output
- Defined in:
- lib/remap/path/output.rb
Overview
Sets the value to a given path
Instance Method Summary collapse
Instance Method Details
#call(state) ⇒ State
36 37 38 39 40 41 42 43 44 |
# File 'lib/remap/path/output.rb', line 36 def call(state) mapped = selectors.map do |selector| selector.call(state) end state.fmap do |value| mapped.hide(value) end end |