Skip to content

Commit

Permalink
comma
Browse files Browse the repository at this point in the history
  • Loading branch information
rpq committed Nov 24, 2011
1 parent ef38c30 commit 510502e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -571,7 +571,7 @@ NOTE: Defined in +active_support/core_ext/module/attr_accessor_with_default.rb+.

h5. Internal Attributes

When you are defining an attribute in a class that is meant to be subclassed name collisions are a risk. That's remarkably important for libraries.
When you are defining an attribute in a class that is meant to be subclassed, name collisions are a risk. That's remarkably important for libraries.

Active Support defines the macros +attr_internal_reader+, +attr_internal_writer+, and +attr_internal_accessor+. They behave like their Ruby built-in +attr_*+ counterparts, except they name the underlying instance variable in a way that makes collisions less likely.

Expand Down

0 comments on commit 510502e

Please sign in to comment.