Class: Remap::Rule::Set
- Inherits:
-
Concrete
- Object
- Concrete
- Remap::Rule::Set
- Defined in:
- lib/remap/rule/set.rb
Overview
Set path to a static value
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
28 29 30 |
# File 'lib/remap/rule/set.rb', line 28 def call(...) rule.call(...).then(&path) end |
#path ⇒ Path::Output
25 |
# File 'lib/remap/rule/set.rb', line 25 attribute :path, Path::Output |
#value ⇒ Static
22 |
# File 'lib/remap/rule/set.rb', line 22 attribute :value, Static, alias: :rule |