Exception: PivotalDoc::FormatNotSupported

Inherits:
PivotalDocException show all
Defined in:
lib/pivotal_doc/exceptions.rb

Instance Method Summary collapse

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

#messageObject



9
10
11
# File 'lib/pivotal_doc/exceptions.rb', line 9

def message
  "The format (#{@format}) is not currently supported"
end