Permalink
Browse files

reformats an example in the rdoc of delegate

  • Loading branch information...
1 parent b712d80 commit bb818372011eec8060aee775f5bc2f402af25dab @fxn fxn committed Feb 6, 2010
Showing with 7 additions and 2 deletions.
  1. +7 −2 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

0 comments on commit bb81837

Please sign in to comment.