Class: Sukima::Constraints::Nonnil

Inherits:
Object
  • Object
show all
Defined in:
lib/sukima/constraints.rb

Instance Method Summary collapse

Instance Method Details

#call(_, value) ⇒ Object



48
49
50
# File 'lib/sukima/constraints.rb', line 48

def call(_, value)
  'should not be nil' if value.nil?
end