Exception: Overapp::MissingBaseFileError
- Includes:
- FromHash
- Defined in:
- lib/overapp/files.rb
Instance Attribute Summary collapse
-
#base ⇒ Object
Returns the value of attribute base.
-
#top_file ⇒ Object
Returns the value of attribute top_file.
Instance Method Summary collapse
Instance Attribute Details
#base ⇒ Object
Returns the value of attribute base.
4 5 6 |
# File 'lib/overapp/files.rb', line 4 def base @base end |
#top_file ⇒ Object
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
#message ⇒ Object
5 6 7 8 9 |
# File 'lib/overapp/files.rb', line 5 def res = "Cannot overlay onto missing file #{top_file.path}\nBase File Count: #{base.files.size}\n" res += base.map { |x| x.path }.join("\n") res end |