Module: Icss::Meta::BooleanSchema

Includes:
PrimitiveSchema
Included in:
Boolean
Defined in:
lib/icss/type/simple_types.rb

Instance Method Summary collapse

Methods included from PrimitiveSchema

#doc, #doc=, #to_schema

Instance Method Details

#fullnameObject



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