Module: XSpec::Notifier::ShortIdSupport
- Included in:
- ColoredDocumentation, FailuresAtEnd
- Defined in:
- lib/xspec/notifiers.rb
Overview
Provides convenience methods for working with short ids.
Instance Method Summary collapse
Instance Method Details
#run_start(config) ⇒ Object
156 157 158 159 |
# File 'lib/xspec/notifiers.rb', line 156 def run_start(config) super @short_id = config.fetch(:short_id) end |
#short_id_for(x) ⇒ Object
161 162 163 |
# File 'lib/xspec/notifiers.rb', line 161 def short_id_for(x) @short_id.(x) end |