Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

clarifying description for class_attribute method

  • Loading branch information...
commit e7920a3bde47f1f788fc8d6b8cb00861a78047f8 1 parent 865d208
@neerajdotname neerajdotname authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/lib/active_support/core_ext/class/attribute.rb
View
4 activesupport/lib/active_support/core_ext/class/attribute.rb
@@ -2,8 +2,8 @@
require 'active_support/core_ext/module/remove_method'
class Class
- # Declare a class-level attribute whose value is inheritable and
- # overwritable by subclasses:
+ # Declare a class-level attribute whose value is inheritable by subclasses.
+ # Subclasses can change their own value and it will not impact parent class.
#
# class Base
# class_attribute :setting
Please sign in to comment.
Something went wrong with that request. Please try again.