Class: TrueClass

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

Instance Method Summary collapse

Instance Method Details

#&(obj) ⇒ Object



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

def &(obj) !!obj end

#^(obj) ⇒ Object



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

def ^(obj)  !obj end

#|(obj) ⇒ Object



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

def |(obj)  true end