Class: AppInfo::Protobuf::Base

Inherits:
Object
  • Object
show all
Includes:
Helper::GenerateClass
Defined in:
lib/app_info/protobuf/manifest.rb

Overview

AAB Protobuf Base class

Direct Known Subclasses

Attribute, Node

Instance Method Summary collapse

Methods included from Helper::GenerateClass

#create_class, #define_instance_method

Constructor Details

#initialize(doc, resources = nil) ⇒ Base

Returns a new instance of Base.



13
14
15
16
# File 'lib/app_info/protobuf/manifest.rb', line 13

def initialize(doc, resources = nil)
  @resources = resources
  parse(doc)
end