Module: Ruson::Nilable
- Included in:
- Base
- Defined in:
- lib/ruson/nilable.rb
Instance Method Summary collapse
Instance Method Details
#check_nilable(value, options) ⇒ Object
3 4 5 6 |
# File 'lib/ruson/nilable.rb', line 3 def check_nilable(value, ) return if nilable?() raise Ruson::NotNilException if value.nil? end |