Class: FileProxy::Proxy
- Inherits:
-
Object
- Object
- FileProxy::Proxy
- Defined in:
- lib/file_proxy/proxy.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(scheme) ⇒ Proxy
constructor
A new instance of Proxy.
Constructor Details
#initialize(scheme) ⇒ Proxy
Returns a new instance of Proxy.
3 4 5 6 7 |
# File 'lib/file_proxy/proxy.rb', line 3 def initialize scheme self.class.instance_eval do include proxy_for scheme end end |