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
555 556 557 |
# File 'lib/builtinME.rb', line 555 def &(anObject) false end |
#^(anObject) ⇒ Object
If anObject is nil or false, returns false; otherwise, returns true
560 561 562 |
# File 'lib/builtinME.rb', line 560 def ^(anObject) anObject ? true : false end |
#inspect ⇒ Object
573 574 575 |
# File 'lib/builtinME.rb', line 573 def inspect "false" end |
#|(anObject) ⇒ Object
Returns false if anObject is nil or false; true otherwise
565 566 567 |
# File 'lib/builtinME.rb', line 565 def |(anObject) anObject ? true : false end |