class Boolean
full definitions in type/simple_types.rb
Attributes
val[RW]
Public Class Methods
methods()
click to toggle source
# File lib/icss/type/simple_types.rb, line 50 def self.methods() ::TrueClass.methods | ::Icss::Meta::BooleanSchema.instance_methods ; end
new(val=nil)
click to toggle source
# File lib/icss/type/simple_types.rb, line 47 def initialize(val=nil) self.val = val end
Public Instance Methods
!()
click to toggle source
# File lib/icss/type/simple_types.rb, line 61 def !() (not val) ; end
!=(other_val)
click to toggle source
# File lib/icss/type/simple_types.rb, line 63 def !=(other_val) val != other_val ; end
==(other_val)
click to toggle source
# File lib/icss/type/simple_types.rb, line 62 def ==(other_val) val == other_val ; end
class()
click to toggle source
# File lib/icss/type/simple_types.rb, line 60 def class() ::Boolean ; end
inspect()
click to toggle source
# File lib/icss/type/simple_types.rb, line 57 def inspect() "<Boolean #{val.inspect}>" end
method_missing(meth, *args)
click to toggle source
# File lib/icss/type/simple_types.rb, line 51 def method_missing(meth, *args) val.send(meth, *args) end
respond_to?(meth)
click to toggle source
Calls superclass method
# File lib/icss/type/simple_types.rb, line 54 def respond_to?(meth) super(meth) || val.respond_to?(meth) end
try_dup()
click to toggle source
# File lib/icss/type/simple_types.rb, line 64 def try_dup() ::Boolean.new(val) ; end