Method: Peck::Notifiers::Documentation#started_specification
- Defined in:
- lib/peck/notifiers/documentation.rb
#started_specification(spec) ⇒ Object
33 34 35 36 37 38 39 40 41 42 |
# File 'lib/peck/notifiers/documentation.rb', line 33 def started_specification(spec) self.semaphore.synchronize do spec_id = spec.object_id self.running.push(spec_id) self.details[spec_id] ||= {} self.details[spec_id][:started_at] = Time.now self.details[spec_id][:label] = spec.label write_documentation end end |