Method: Integrity::Commit#human_readable_status
- Defined in:
- lib/integrity/commit.rb
#human_readable_status ⇒ Object
53 54 55 56 57 58 59 60 |
# File 'lib/integrity/commit.rb', line 53 def human_readable_status case status when :success; "Built #{short_identifier} successfully" when :failed; "Built #{short_identifier} and failed" when :pending; "#{short_identifier} hasn't been built yet" when :building; "#{short_identifier} is being build" end end |