Method: Ebay::Schema::RubyClassGenerator#initialize
- Defined in:
- lib/ebay/schema/mapper/ruby_class_generator.rb
#initialize(type, simple_types, complex_types, xml) ⇒ RubyClassGenerator
Returns a new instance of RubyClassGenerator.
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/ebay/schema/mapper/ruby_class_generator.rb', line 10 def initialize(type, simple_types, complex_types, xml) @xml = xml @indent = 2 @type = type @simple_types, @complex_types = simple_types, complex_types @ignored_classes = [] # node = @xml.find_first("xs:complexType[@name='#{xml_type}']/xs:annotation/xs:documentation") # @documentation = (node && node.content) || '' find_base end |