module XSpec::Notifier::ShortIdSupport
Provides convenience methods for working with short ids.
Public Instance Methods
run_start(config)
click to toggle source
Calls superclass method
# File lib/xspec/notifiers.rb, line 156 def run_start(config) super @short_id = config.fetch(:short_id) end
short_id_for(x)
click to toggle source
# File lib/xspec/notifiers.rb, line 161 def short_id_for(x) @short_id.(x) end