class BasicObject

Public Instance Methods

class() click to toggle source
# File lib/ext/basic_object.rb, line 4
def class
  klass = class << self;
    self
  end
  klass.superclass
end
itself() click to toggle source
# File lib/ext/basic_object.rb, line 11
def itself() self end
Also aliased as: self!
p!(method=:puts) click to toggle source
# File lib/ext/basic_object.rb, line 14
def p!(method=:puts)
  send(method, self)
  self
end
self!()
Alias for: itself