Class: Monolens::Skip::Null
- Inherits:
-
Object
- Object
- Monolens::Skip::Null
- Includes:
- Lens
- Defined in:
- lib/monolens/stdlib/skip/null.rb
Instance Attribute Summary
Attributes included from Lens
Instance Method Summary collapse
Methods included from Lens
Methods included from Lens::FetchSupport
Instance Method Details
#call(arg, world = {}) ⇒ Object
8 9 10 11 12 |
# File 'lib/monolens/stdlib/skip/null.rb', line 8 def call(arg, world = {}) throw :skip if arg.nil? arg end |