Exception: RubyBindgen::Parser::ParseError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/ruby-bindgen/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, details: []) ⇒ ParseError

Returns a new instance of ParseError.



10
11
12
13
14
# File 'lib/ruby-bindgen/parser.rb', line 10

def initialize(path, details: [])
  @path = path
  @details = details
  super(build_message(path, details))
end

Instance Attribute Details

#detailsObject (readonly)

Returns the value of attribute details.



8
9
10
# File 'lib/ruby-bindgen/parser.rb', line 8

def details
  @details
end

#pathObject (readonly)

Returns the value of attribute path.



8
9
10
# File 'lib/ruby-bindgen/parser.rb', line 8

def path
  @path
end