Module: Icss::Meta::BooleanSchema
Instance Method Summary collapse
Methods included from PrimitiveSchema
Instance Method Details
#fullname ⇒ Object
15 |
# File 'lib/icss/type/simple_types.rb', line 15 def fullname() :boolean ; end |
#receive(val = nil) ⇒ Object
15 |
# File 'lib/icss/type/simple_types.rb', line 15 def receive(val=nil) case when val.nil? then nil when val.to_s.strip.blank? then false else val.to_s.strip != "false" end ; end |