Class: ApiDiff::Parser

Inherits:
Object
  • Object
show all
Defined in:
lib/api_diff/parser.rb

Direct Known Subclasses

KotlinBCVParser, SwiftInterfaceParser

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Parser

Returns a new instance of Parser.



5
6
7
8
# File 'lib/api_diff/parser.rb', line 5

def initialize(options = {})
  @options = options
  @api = Api.new
end

Instance Attribute Details

#apiObject (readonly)

Returns the value of attribute api.



3
4
5
# File 'lib/api_diff/parser.rb', line 3

def api
  @api
end