Module: ActiveDoc::ClassMethods

Defined in:
lib/active_doc.rb

Instance Method Summary collapse

Instance Method Details

#method_added(method_name) ⇒ Object



72
73
74
# File 'lib/active_doc.rb', line 72

def method_added(method_name)
  ActiveDoc.describe(self, method_name, caller.first)
end

#singleton_method_added(method_name) ⇒ Object



76
77
78
# File 'lib/active_doc.rb', line 76

def singleton_method_added(method_name)
  ActiveDoc.describe(self.singleton_class, method_name, caller.first)
end