Class: NDFD::DWML

Inherits:
Object
  • Object
show all
Defined in:
lib/ndfd/dwml.rb,
lib/ndfd/dwml/location.rb,
lib/ndfd/dwml/time_layout.rb,
lib/ndfd/dwml/head_extractor.rb,
lib/ndfd/dwml/data_extractor.rb,
lib/ndfd/dwml/parameter_extractor.rb

Defined Under Namespace

Classes: DataExtractor, HeadExtractor, Location, ParameterExtractor, TimeLayout

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(xmldoc) ⇒ DWML

Returns a new instance of DWML.


15
16
17
18
# File 'lib/ndfd/dwml.rb', line 15

def initialize(xmldoc)
  @xmldoc = xmldoc
  @output = {}
end

Instance Attribute Details

#outputObject (readonly)

Returns the value of attribute output


13
14
15
# File 'lib/ndfd/dwml.rb', line 13

def output
  @output
end

#xmldocObject (readonly)

Returns the value of attribute xmldoc


13
14
15
# File 'lib/ndfd/dwml.rb', line 13

def xmldoc
  @xmldoc
end

Instance Method Details

#processObject


20
21
22
23
24
# File 'lib/ndfd/dwml.rb', line 20

def process
  build_head
  build_data
  output
end