diff options
Diffstat (limited to 'lib/forwardable.rb')
-rw-r--r-- | lib/forwardable.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/forwardable.rb b/lib/forwardable.rb index 2b71b904d0..7a42e914bc 100644 --- a/lib/forwardable.rb +++ b/lib/forwardable.rb @@ -177,7 +177,7 @@ module Forwardable # Define +method+ as delegator instance method with an optional # alias name +ali+. Method calls to +ali+ will be delegated to - # +accessor.method+. + # +accessor.method+. # # class MyQueue # extend Forwardable @@ -185,7 +185,7 @@ module Forwardable # def initialize # @queue = [] # end - # + # # def_delegator :@queue, :push, :mypush # end # |