Class: Skyscraper::Path::Base
- Inherits:
-
Object
- Object
- Skyscraper::Path::Base
- Defined in:
- lib/skyscraper/path/base.rb
Instance Method Summary collapse
Instance Method Details
#local? ⇒ Boolean
8 9 10 |
# File 'lib/skyscraper/path/base.rb', line 8 def local? self.is_a? Skyscraper::Path::Local end |
#path_for(path) ⇒ Object
4 5 6 |
# File 'lib/skyscraper/path/base.rb', line 4 def path_for path Path::factory(self.full_path_for(path)) end |
#remote? ⇒ Boolean
12 13 14 |
# File 'lib/skyscraper/path/base.rb', line 12 def remote? self.is_a? Skyscraper::Path::Remote end |