Exception: PandocRb::ParseFailure

Inherits:
Error
  • Object
show all
Defined in:
lib/pandoc_rb/parse_failure.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ ParseFailure

Returns a new instance of ParseFailure.



6
7
8
# File 'lib/pandoc_rb/parse_failure.rb', line 6

def initialize(json)
  self.json = json
end

Instance Attribute Details

#jsonObject

Returns the value of attribute json.



4
5
6
# File 'lib/pandoc_rb/parse_failure.rb', line 4

def json
  @json
end