Exception: PGit::Configuration::LayoutError

Inherits:
Error
  • Object
show all
Defined in:
lib/pgit/configuration/layout_error.rb

Direct Known Subclasses

MissingAttributesError, ProjectMissingError

Instance Method Summary collapse

Instance Method Details

#prepend_general_message(message) ⇒ Object



4
5
6
# File 'lib/pgit/configuration/layout_error.rb', line 4

def prepend_general_message(message)
  "#{message}\nPlease have the following layout:\n" + YAML.dump(PGit::Configuration.default_options)
end