Module: Schema::Boolean

Defined in:
lib/schema/schema.rb

Class Method Summary collapse

Class Method Details

.call(val) ⇒ Object



151
152
153
# File 'lib/schema/schema.rb', line 151

def self.call(val)
  val == true || val == false
end