Exception: PivotalDoc::FormatNotSupported
- Inherits:
-
PivotalDocException
- Object
- Exception
- PivotalDocException
- PivotalDoc::FormatNotSupported
- Defined in:
- lib/pivotal_doc/exceptions.rb
Instance Method Summary collapse
-
#initialize(format) ⇒ FormatNotSupported
constructor
A new instance of FormatNotSupported.
- #message ⇒ Object
Constructor Details
#initialize(format) ⇒ FormatNotSupported
Returns a new instance of FormatNotSupported.
5 6 7 |
# File 'lib/pivotal_doc/exceptions.rb', line 5 def initialize(format) @format= format end |
Instance Method Details
#message ⇒ Object
9 10 11 |
# File 'lib/pivotal_doc/exceptions.rb', line 9 def "The format (#{@format}) is not currently supported" end |