Module: Monolens::Type::ErrorHandling
- Included in:
- Any, Array, Boolean, Callback, Integer, Lenses, Map, Object, Responding, Strategy, String, Symbol
- Defined in:
- lib/monolens/type.rb
Instance Method Summary collapse
Instance Method Details
#fail!(message, &block) ⇒ Object
4 5 6 |
# File 'lib/monolens/type.rb', line 4 def fail!(, &block) block.call() end |