Class: Remap::Rule::Map::Optional Private
- Defined in:
- lib/remap/rule/map/optional.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#call(state) ⇒ Object
private
Represents an optional mapping rule When the mapping fails, the value is ignored.
Instance Method Details
#call(state) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Represents an optional mapping rule When the mapping fails, the value is ignored
33 34 35 |
# File 'lib/remap/rule/map/optional.rb', line 33 def call(state) catch_ignored(state) { super(_1) } end |