Class: FalseClass

Inherits:
Object show all
Defined in:
lib/framework/builtinME.rb

Instance Method Summary collapse

Instance Method Details

#&(anObject) ⇒ Object

Returns false



659
660
661
# File 'lib/framework/builtinME.rb', line 659

def &(anObject)
    false
end

#^(anObject) ⇒ Object

If anObject is nil or false, returns false; otherwise, returns true



664
665
666
# File 'lib/framework/builtinME.rb', line 664

def ^(anObject)
    anObject ? true : false
end

#inspectObject



677
678
679
# File 'lib/framework/builtinME.rb', line 677

def inspect
    "false"
end

#to_sObject



673
674
675
# File 'lib/framework/builtinME.rb', line 673

def to_s
    "false"
end

#|(anObject) ⇒ Object

Returns false if anObject is nil or false; true otherwise



669
670
671
# File 'lib/framework/builtinME.rb', line 669

def |(anObject)
    anObject ? true : false
end