Class: Object

Inherits:
BasicObject
Defined in:
lib/thoughtful/object.rb

Defined Under Namespace

Classes: Not

Instance Method Summary collapse

Instance Method Details

#__negate__Object



14
15
16
# File 'lib/thoughtful/object.rb', line 14

def __negate__
  !self
end

#metaclassObject



2
3
4
# File 'lib/thoughtful/object.rb', line 2

def metaclass
  class << self ; self ; end
end

#notObject



10
11
12
# File 'lib/thoughtful/object.rb', line 10

def not
  Not.new(self)
end

#r(arg) ⇒ Object



6
7
8
# File 'lib/thoughtful/object.rb', line 6

def r(arg)
  raise arg.inspect
end