Exception: Travis::Config::Env::UnexpectedString

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/travis/config/env.rb

Constant Summary collapse

MSG =
'Expected %s to be an array of hashes, but it is a string: %s'

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ UnexpectedString

Returns a new instance of UnexpectedString.



7
8
9
# File 'lib/travis/config/env.rb', line 7

def initialize(*args)
  super(MSG % args)
end