Class: Deckr::Package
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
#==, #initialize, #path, #url
Constructor Details
This class inherits a constructor from Deckr::Resource
Instance Method Details
#content ⇒ Object
18 19 20 |
# File 'lib/deckr/package.rb', line 18 def content "" end |
#exist? ⇒ Boolean
14 15 16 |
# File 'lib/deckr/package.rb', line 14 def exist? File.directory?(path) end |