diff options
author | ayumin <ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-08 19:02:36 +0000 |
---|---|---|
committer | ayumin <ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-08 19:02:36 +0000 |
commit | 2ff10784e48e4784ed1b03244e556092a54ead11 (patch) | |
tree | a46e932825ae81e5ffa81d69060fe099b7669165 | |
parent | 8b6a874a59e6fefdaa6bb65e8095eb498f8d551a (diff) |
* lib/delegate.rb: Fix example of using delegator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/delegate.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri May 9 03:59:06 2014 Ayumu AIZAWA <[email protected]> + + * lib/delegate.rb: Fix example of using delegator. + patched from Andrey Koleshko. [Fixes GH-505] + Fri May 9 03:42:43 2014 Ayumu AIZAWA <[email protected]> * lib/shell.rb: add documentation in lib/shell.rb diff --git a/lib/delegate.rb b/lib/delegate.rb index d7902292f0..cdb525844c 100644 --- a/lib/delegate.rb +++ b/lib/delegate.rb @@ -248,7 +248,7 @@ end # # class User # def born_on -# Date.new(1989, 09, 10) +# Date.new(1989, 9, 10) # end # end # |