diff options
author | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-09-12 18:40:18 -0500 |
---|---|---|
committer | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-09-12 18:40:18 -0500 |
commit | 794a70f94485fb64ed1c49ba8532895306e2001c (patch) | |
tree | 44f096bdc08c2df55ce2278a87ea120ed2bee478 /activesupport/lib/active_support/core_ext/module | |
parent | f4e180578c673194f58d4ff5a4a656cc51b2249e (diff) | |
download | rails-794a70f94485fb64ed1c49ba8532895306e2001c.tar.gz rails-794a70f94485fb64ed1c49ba8532895306e2001c.tar.bz2 rails-794a70f94485fb64ed1c49ba8532895306e2001c.zip |
update AS/core_ext docs [ci skip]
Diffstat (limited to 'activesupport/lib/active_support/core_ext/module')
-rw-r--r-- | activesupport/lib/active_support/core_ext/module/anonymous.rb | 1 | ||||
-rw-r--r-- | activesupport/lib/active_support/core_ext/module/introspection.rb | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/core_ext/module/anonymous.rb b/activesupport/lib/active_support/core_ext/module/anonymous.rb index 0a9e791030..b0c7b021db 100644 --- a/activesupport/lib/active_support/core_ext/module/anonymous.rb +++ b/activesupport/lib/active_support/core_ext/module/anonymous.rb @@ -13,7 +13,6 @@ class Module # m = Module.new # creates an anonymous module # M = m # => m gets a name here as a side-effect # m.name # => "M" - # def anonymous? name.nil? end diff --git a/activesupport/lib/active_support/core_ext/module/introspection.rb b/activesupport/lib/active_support/core_ext/module/introspection.rb index 3c8e811fa4..649a969149 100644 --- a/activesupport/lib/active_support/core_ext/module/introspection.rb +++ b/activesupport/lib/active_support/core_ext/module/introspection.rb @@ -27,7 +27,6 @@ class Module # # M.parent # => Object # Module.new.parent # => Object - # def parent parent_name ? ActiveSupport::Inflector.constantize(parent_name) : Object end @@ -44,7 +43,6 @@ class Module # M.parents # => [Object] # M::N.parents # => [M, Object] # X.parents # => [M, Object] - # def parents parents = [] if parent_name |