Exception: SeeAsVee::Exceptions::FileFormatError
- Inherits:
-
SeeAsVeeError
- Object
- StandardError
- SeeAsVeeError
- SeeAsVee::Exceptions::FileFormatError
- Defined in:
- lib/see_as_vee/exceptions.rb
Instance Method Summary collapse
-
#initialize(file) ⇒ FileFormatError
constructor
A new instance of FileFormatError.
Constructor Details
#initialize(file) ⇒ FileFormatError
Returns a new instance of FileFormatError.
7 8 9 10 |
# File 'lib/see_as_vee/exceptions.rb', line 7 def initialize file file = file.path if file.is_a?(IO) super "File [#{file}] does not seem to be valid spreadsheet" end |