Skip to content

Commit

Permalink
Fix the example of Module#extended (see #8949).
Browse files Browse the repository at this point in the history
  • Loading branch information
ohai committed Sep 29, 2013
1 parent 8b8dba2 commit 4c00c4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions refm/api/src/_builtin/Module
Expand Up @@ -1095,8 +1095,8 @@ self が他のオブジェクト に [[m:Object#extend]] されたときに
@param obj [[m:Object#extend]] を行ったオブジェクト

module Foo
def self.extended(mod)
p "#{mod} extend #{self}"
def self.extended(obj)
p "#{obj} extend #{self}"
end
end

Expand Down

0 comments on commit 4c00c4e

Please sign in to comment.