diff options
author | maximerety <maxime.rety@gmail.com> | 2012-11-15 19:17:53 +0100 |
---|---|---|
committer | maximerety <maxime.rety@gmail.com> | 2012-11-15 19:18:04 +0100 |
commit | 2ff888181d8d3425864f58141881e36b5f12e8c3 (patch) | |
tree | 25805d38d39fb2d6c71e7925a78ab64c38795da5 /activesupport/lib | |
parent | d0ba816fcf9a373949a920bbd7e91f113d956884 (diff) | |
download | rails-2ff888181d8d3425864f58141881e36b5f12e8c3.tar.gz rails-2ff888181d8d3425864f58141881e36b5f12e8c3.tar.bz2 rails-2ff888181d8d3425864f58141881e36b5f12e8c3.zip |
Fix another AS::Concern example (class_eval is already called by included)
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/concern.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/concern.rb b/activesupport/lib/active_support/concern.rb index 45bccd21c1..eeeba60839 100644 --- a/activesupport/lib/active_support/concern.rb +++ b/activesupport/lib/active_support/concern.rb @@ -79,10 +79,8 @@ module ActiveSupport # module Foo # extend ActiveSupport::Concern # included do - # class_eval do - # def self.method_injected_by_foo - # ... - # end + # def self.method_injected_by_foo + # ... # end # end # end |