Exception: Travis::Client::AssetNotFound
- Defined in:
- lib/travis/client/error.rb
Instance Method Summary collapse
-
#initialize(file, *args) ⇒ AssetNotFound
constructor
A new instance of AssetNotFound.
Constructor Details
#initialize(file, *args) ⇒ AssetNotFound
Returns a new instance of AssetNotFound.
29 30 31 32 33 34 35 |
# File 'lib/travis/client/error.rb', line 29 def initialize(file, *args) if (md = file.match(%r{init/(?<lang>[^.]+)\.yml$})) super "unknown language #{md[:lang]}", *args else super file, *args end end |