From 2ff888181d8d3425864f58141881e36b5f12e8c3 Mon Sep 17 00:00:00 2001 From: maximerety Date: Thu, 15 Nov 2012 19:17:53 +0100 Subject: Fix another AS::Concern example (class_eval is already called by included) --- activesupport/lib/active_support/concern.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'activesupport/lib') 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 -- cgit v1.2.3