class Geminabox::Proxy::Copier
def get_remote
def get_remote begin if rc = remote_content File.open(proxy_path, 'wb'){|f| f.write(rc) } end rescue File.unlink(proxy_path) if File.exist?(proxy_path) raise $! end end
def get_remote begin if rc = remote_content File.open(proxy_path, 'wb'){|f| f.write(rc) } end rescue File.unlink(proxy_path) if File.exist?(proxy_path) raise $! end end