Exception: Travis::Lock::Timeout

Inherits:
StandardError
  • Object
show all
Defined in:
lib/travis/lock.rb

Instance Method Summary collapse

Constructor Details

#initialize(name, options) ⇒ Timeout

Returns a new instance of Timeout.



8
9
10
# File 'lib/travis/lock.rb', line 8

def initialize(name, options)
  super("Could not obtain lock for #{name}: #{options.map { |*pair| pair.join('=') }.join(' ')}")
end