aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-06-22 16:29:59 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-06-22 16:29:59 -0500
commitbc7ac33846274a0d2c93741bf6df441d4853e4e9 (patch)
treefcad86f85494f96fcc667073d8a97e1229ff7222 /activesupport/lib
parent96ce1f2553f895bfd25e7ca677fb7ed746d04fdd (diff)
downloadrails-bc7ac33846274a0d2c93741bf6df441d4853e4e9.tar.gz
rails-bc7ac33846274a0d2c93741bf6df441d4853e4e9.tar.bz2
rails-bc7ac33846274a0d2c93741bf6df441d4853e4e9.zip
add :nodoc: to internal implementations [ci skip]
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/concern.rb5
-rw-r--r--activesupport/lib/active_support/testing/declarative.rb2
-rw-r--r--activesupport/lib/active_support/testing/isolation.rb2
3 files changed, 4 insertions, 5 deletions
diff --git a/activesupport/lib/active_support/concern.rb b/activesupport/lib/active_support/concern.rb
index c94a8d99f4..b927b58a9a 100644
--- a/activesupport/lib/active_support/concern.rb
+++ b/activesupport/lib/active_support/concern.rb
@@ -56,7 +56,7 @@ module ActiveSupport
# these from +Host+ directly including +Foo+ in +Bar+:
#
# module Bar
- # include Foo
+ # include Foo
# def self.included(base)
# base.method_injected_by_foo
# end
@@ -94,9 +94,8 @@ module ActiveSupport
# class Host
# include Bar # works, Bar takes care now of its dependencies
# end
- #
module Concern
- def self.extended(base)
+ def self.extended(base) #:nodoc:
base.instance_variable_set("@_dependencies", [])
end
diff --git a/activesupport/lib/active_support/testing/declarative.rb b/activesupport/lib/active_support/testing/declarative.rb
index 1c05d45888..508e37254a 100644
--- a/activesupport/lib/active_support/testing/declarative.rb
+++ b/activesupport/lib/active_support/testing/declarative.rb
@@ -2,7 +2,7 @@ module ActiveSupport
module Testing
module Declarative
- def self.extended(klass)
+ def self.extended(klass) #:nodoc:
klass.class_eval do
unless method_defined?(:describe)
diff --git a/activesupport/lib/active_support/testing/isolation.rb b/activesupport/lib/active_support/testing/isolation.rb
index 50ec50ca52..27d444fd91 100644
--- a/activesupport/lib/active_support/testing/isolation.rb
+++ b/activesupport/lib/active_support/testing/isolation.rb
@@ -64,7 +64,7 @@ module ActiveSupport
end
end
- def self.included klass
+ def self.included(klass) #:nodoc:
klass.extend(Module.new {
def test_methods
ParallelEach.new super