Skip to content

Commit

Permalink
nodoc AS::Deprecation::InstanceDelegator class [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Rodriguez committed Nov 29, 2012
1 parent abdfffa commit d168d23
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -3,13 +3,13 @@

module ActiveSupport
class Deprecation
module InstanceDelegator
module InstanceDelegator # :nodoc:
def self.included(base)
base.extend(ClassMethods)
base.public_class_method :new
end

module ClassMethods
module ClassMethods # :nodoc:
def include(included_module)
included_module.instance_methods.each { |m| method_added(m) }
super
Expand All @@ -21,4 +21,4 @@ def method_added(method_name)
end
end
end
end
end

0 comments on commit d168d23

Please sign in to comment.