aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activesupport/lib/active_support/core_ext/module/delegation.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/module/delegation.rb b/activesupport/lib/active_support/core_ext/module/delegation.rb
index c751e29908..381181b2f4 100644
--- a/activesupport/lib/active_support/core_ext/module/delegation.rb
+++ b/activesupport/lib/active_support/core_ext/module/delegation.rb
@@ -7,8 +7,13 @@ class Module
# Delegation is particularly useful with Active Record associations:
#
# class Greeter < ActiveRecord::Base
- # def hello() "hello" end
- # def goodbye() "goodbye" end
+ # def hello
+ # "hello"
+ # end
+ #
+ # def goodbye
+ # "goodbye"
+ # end
# end
#
# class Foo < ActiveRecord::Base