Class: Bookbinder::Ingest::MissingWorkingCopy
- Inherits:
-
Object
- Object
- Bookbinder::Ingest::MissingWorkingCopy
- Defined in:
- lib/bookbinder/ingest/missing_working_copy.rb
Instance Method Summary collapse
- #available? ⇒ Boolean
- #full_name ⇒ Object
-
#initialize(source_repo_name) ⇒ MissingWorkingCopy
constructor
A new instance of MissingWorkingCopy.
- #path ⇒ Object
Constructor Details
#initialize(source_repo_name) ⇒ MissingWorkingCopy
Returns a new instance of MissingWorkingCopy.
4 5 6 |
# File 'lib/bookbinder/ingest/missing_working_copy.rb', line 4 def initialize(source_repo_name) @source_repo_name = source_repo_name end |
Instance Method Details
#available? ⇒ Boolean
16 17 18 |
# File 'lib/bookbinder/ingest/missing_working_copy.rb', line 16 def available? false end |
#full_name ⇒ Object
8 9 10 |
# File 'lib/bookbinder/ingest/missing_working_copy.rb', line 8 def full_name @source_repo_name end |
#path ⇒ Object
12 13 14 |
# File 'lib/bookbinder/ingest/missing_working_copy.rb', line 12 def path Pathname("/this/doesnt/actually/exist/#{SecureRandom.uuid}") end |