3
4
5
6
7
8
9
10
11
12
|
# File 'lib/file_proxy/shim.rb', line 3
def self.included into
class << into
def open file_name, *args, &blk
uri = URI.parse file_name
puts uri.scheme.inspect
proxy = Proxy.new uri.scheme
proxy.open file_name, *args, &blk
end
end
end
|