Class: Overapp::Load::LocalDir
- Defined in:
- lib/overapp/load/types/local_dir.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#commit_message, #initialize, #load_full
Constructor Details
This class inherits a constructor from Overapp::Load::Base
Instance Method Details
#load(base, ops) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/overapp/load/types/local_dir.rb', line 6 def load(base,ops) if Overapp::Project.project? path Project.new(:descriptor => path) else RawDir.new(:descriptor => path) end end |
#path ⇒ Object
4 |
# File 'lib/overapp/load/types/local_dir.rb', line 4 def path; Overapp.to_proper_dir(descriptor); end |