reformats an example in the rdoc of delegate

This commit is contained in:
Xavier Noria
2010-02-06 21:12:53 +01:00
parent b712d80085
commit bb81837201

View File

@@ -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