Exception: Omnibus::ProjectAlreadyDirty
- Defined in:
- lib/omnibus/exceptions.rb
Instance Method Summary collapse
-
#initialize(project) ⇒ ProjectAlreadyDirty
constructor
A new instance of ProjectAlreadyDirty.
Constructor Details
#initialize(project) ⇒ ProjectAlreadyDirty
Returns a new instance of ProjectAlreadyDirty.
305 306 307 308 309 310 311 312 313 314 |
# File 'lib/omnibus/exceptions.rb', line 305 def initialize(project) name = project.name culprit = project.culprit.name super <<~EOH The project `#{name}' was already marked as dirty by `#{culprit}'. You cannot mark a project as dirty twice. This is probably a bug in Omnibus and should be reported. EOH end |