diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2014-12-20 14:26:21 +0000 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2014-12-20 14:26:21 +0000 |
commit | 15590c1a2a76b6560840cfa55c5a2485b4566460 (patch) | |
tree | 66c08538f97e39caf48559f603c578df044d4a4d /activesupport/lib/active_support/core_ext/module/attribute_accessors.rb | |
parent | a8015865d24c5cd4551c3be06abd8211f79888ea (diff) | |
parent | 78ae8eebe5c7cfef114d1e6266a8b3d198545d2a (diff) | |
download | rails-15590c1a2a76b6560840cfa55c5a2485b4566460.tar.gz rails-15590c1a2a76b6560840cfa55c5a2485b4566460.tar.bz2 rails-15590c1a2a76b6560840cfa55c5a2485b4566460.zip |
Merge branch 'master' of github.com:rails/docrails
Diffstat (limited to 'activesupport/lib/active_support/core_ext/module/attribute_accessors.rb')
-rw-r--r-- | activesupport/lib/active_support/core_ext/module/attribute_accessors.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb b/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb index d317df5079..d4e6b5a1ac 100644 --- a/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb +++ b/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb @@ -203,7 +203,7 @@ class Module # include HairColors # end # - # Person.class_variable_get("@@hair_colors") #=> [:brown, :black, :blonde, :red] + # Person.class_variable_get("@@hair_colors") # => [:brown, :black, :blonde, :red] def mattr_accessor(*syms, &blk) mattr_reader(*syms, &blk) mattr_writer(*syms, &blk) |