Class: FalseClass
Instance Method Summary collapse
-
#&(anObject) ⇒ Object
Returns false.
-
#^(anObject) ⇒ Object
If anObject is nil or false, returns false; otherwise, returns true.
- #inspect ⇒ Object
- #to_s ⇒ Object
-
#|(anObject) ⇒ Object
Returns false if anObject is nil or false; true otherwise.
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 |
#inspect ⇒ Object
677 678 679 |
# File 'lib/framework/builtinME.rb', line 677 def inspect "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 |