Class: Ea::Cli::UnsupportedFormat
- Defined in:
- lib/ea/cli/error.rb
Instance Method Summary collapse
-
#initialize(path, detail = nil) ⇒ UnsupportedFormat
constructor
A new instance of UnsupportedFormat.
Constructor Details
#initialize(path, detail = nil) ⇒ UnsupportedFormat
Returns a new instance of UnsupportedFormat.
14 15 16 17 18 |
# File 'lib/ea/cli/error.rb', line 14 def initialize(path, detail = nil) msg = "Unsupported format for file: #{path}" msg = "#{msg} (#{detail})" if detail super(msg) end |