Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Ruby Programming
Previous Page Home Next Page
class FalseClass
Parent: Object
Version: 1.6

Index:

& ^ |


The global value false is the only instance of class FalseClass and represents a logically false value in boolean expressions. The class provides operators allowing false to participate correctly in logical expressions.

instance methods
& false & anObject -> false

And---Returns false. anObject is always evaluated as it is the argument to a method call---there is no short-circuit evaluation in this case.

^ false ^ anObject -> true or false

Exclusive Or---If anObject is nil or false, returns false; otherwise, returns true.

| false | anObject -> true or false

Or---Returns false if anObject is nil or false; true otherwise.


Ruby Programming
Previous Page Home Next Page

 
 
  Published under the terms of the Open Publication License Design by Interspire