Class: TrueClass

Inherits:
Object show all
Defined in:
lib/null.rb

Instance Method Summary collapse

Instance Method Details

#&(obj) ⇒ Object



75
# File 'lib/null.rb', line 75

def &(obj) !!obj end

#^(obj) ⇒ Object



77
# File 'lib/null.rb', line 77

def ^(obj)  !obj end

#|(obj) ⇒ Object



76
# File 'lib/null.rb', line 76

def |(obj)  true end