Skip to content

Commit

Permalink
Koan 264 passes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hank Gay committed Jan 4, 2012
1 parent c2f4eb1 commit 37e5e30
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions koans/about_proxy_object_project.rb
Expand Up @@ -24,6 +24,10 @@ def method_missing(method_name, *args, &block)
@messages << method_name
@object.send(method_name, *args, &block)
end

def called?(method_name)
return @messages.include?(method_name)
end
end

# The proxy object should pass the following Koan:
Expand Down

0 comments on commit 37e5e30

Please sign in to comment.