class Object

whytheluckystiff.net/articles/seeingMetaclassesClearly.html

Constants

TimeSpan

Public Instance Methods

meta_def(name, &blk) click to toggle source
# File lib/timespan/mongoid.rb, line 7
def meta_def name, &blk
  (class << self; self; end).instance_eval { define_method name, &blk }
end