Module: IMW::Schemes::Remote::RemoteDirectory

Defined in:
lib/imw/schemes/remote.rb

Instance Method Summary collapse

Instance Method Details

#join(*paths) ⇒ IMW::Resource

Return the resource at the base path of this resource joined to path.

IMW.open('http://example.com/path/to/dir').join('subdir')
#=> IMW::Resource at 'http://example.com/path/to/dir/subdir'

Parameters:

Returns:



106
107
108
# File 'lib/imw/schemes/remote.rb', line 106

def join *paths
  IMW.open(File.join(stripped_uri.to_s, *paths))
end