Exception: Overapp::MissingBaseFileError

Inherits:
RuntimeError
  • Object
show all
Includes:
FromHash
Defined in:
lib/overapp/files.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#baseObject

Returns the value of attribute base.



4
5
6
# File 'lib/overapp/files.rb', line 4

def base
  @base
end

#top_fileObject

Returns the value of attribute top_file.



4
5
6
# File 'lib/overapp/files.rb', line 4

def top_file
  @top_file
end

Instance Method Details

#messageObject



5
6
7
8
9
# File 'lib/overapp/files.rb', line 5

def message
  res = "Cannot overlay onto missing file #{top_file.path}\nBase File Count: #{base.files.size}\n#{top_file.params_obj.note_params.inspect}"
  res += base.map { |x| x.path }.join("\n")
  res
end