Class: Bookwatch::Ingest::MissingWorkingCopy
- Inherits:
-
Object
- Object
- Bookwatch::Ingest::MissingWorkingCopy
- Defined in:
- lib/bookwatch/ingest/missing_working_copy.rb
Instance Method Summary collapse
- #available? ⇒ Boolean
- #full_name ⇒ Object
-
#initialize(source_repo_name, source_dir, source_ref = nil) ⇒ MissingWorkingCopy
constructor
A new instance of MissingWorkingCopy.
- #path ⇒ Object
- #ref ⇒ Object
Constructor Details
#initialize(source_repo_name, source_dir, source_ref = nil) ⇒ MissingWorkingCopy
Returns a new instance of MissingWorkingCopy.
4 5 6 7 8 |
# File 'lib/bookwatch/ingest/missing_working_copy.rb', line 4 def initialize(source_repo_name, source_dir, source_ref=nil) @source_repo_name = source_repo_name @source_dir = source_dir @source_ref = source_ref end |
Instance Method Details
#available? ⇒ Boolean
22 23 24 |
# File 'lib/bookwatch/ingest/missing_working_copy.rb', line 22 def available? false end |
#full_name ⇒ Object
10 11 12 |
# File 'lib/bookwatch/ingest/missing_working_copy.rb', line 10 def full_name @source_repo_name end |
#path ⇒ Object
14 15 16 |
# File 'lib/bookwatch/ingest/missing_working_copy.rb', line 14 def path Pathname(@source_dir) end |
#ref ⇒ Object
18 19 20 |
# File 'lib/bookwatch/ingest/missing_working_copy.rb', line 18 def ref @source_ref end |