Skip to content

Instantly share code, notes, and snippets.

@workmad3
Created May 13, 2010 22:00
Show Gist options
  • Save workmad3/400523 to your computer and use it in GitHub Desktop.
Save workmad3/400523 to your computer and use it in GitHub Desktop.
class MyProxy < BasicObject
def initialize(target)
@target = target
end
def method_missing(name, *args, &block)
@target.send(name, *args, &block)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment