Class: SprachePool

Inherits:
Pool
  • Object
show all
Defined in:
lib/pkm_level2_converter/pools.rb

Overview

Ein XML-Sprache-Pool kodiert die Auflistung aller unterstützten Sprachen eines Tarifmoduls.

Instance Attribute Summary

Attributes inherited from Pool

#items, #key

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Pool

#empty?, #get_by_reference, #length, parse_pool

Constructor Details

#initialize(xml_node) ⇒ SprachePool

Returns a new instance of SprachePool.



94
95
96
# File 'lib/pkm_level2_converter/pools.rb', line 94

def initialize(xml_node)
  super(xml_node, SprachePool.type)
end

Class Method Details

.typeObject



90
91
92
# File 'lib/pkm_level2_converter/pools.rb', line 90

def self.type
  Sprache
end