Class: Bookbinder::Ingest::MissingWorkingCopy

Inherits:
Object
  • Object
show all
Defined in:
lib/bookbinder/ingest/missing_working_copy.rb

Instance Method Summary collapse

Constructor Details

#initialize(source_repo_name, source_dir) ⇒ MissingWorkingCopy

Returns a new instance of MissingWorkingCopy.



4
5
6
7
# File 'lib/bookbinder/ingest/missing_working_copy.rb', line 4

def initialize(source_repo_name, source_dir)
  @source_repo_name = source_repo_name
  @source_dir= source_dir
end

Instance Method Details

#available?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/bookbinder/ingest/missing_working_copy.rb', line 17

def available?
  false
end

#full_nameObject



9
10
11
# File 'lib/bookbinder/ingest/missing_working_copy.rb', line 9

def full_name
  @source_repo_name
end

#pathObject



13
14
15
# File 'lib/bookbinder/ingest/missing_working_copy.rb', line 13

def path
  Pathname(@source_dir)
end