Class: DWML
- Inherits:
-
Object
- Object
- DWML
- Defined in:
- lib/dwml.rb,
lib/dwml/version.rb,
lib/dwml/location.rb,
lib/dwml/time_layout.rb,
lib/dwml/data_extractor.rb,
lib/dwml/head_extractor.rb,
lib/dwml/parameter_extractor.rb
Overview
Note: See graphical.weather.gov/xml/mdl/XML/Design/MDL_XML_Design.pdf for authoritative type definitions
Defined Under Namespace
Classes: DataExtractor, HeadExtractor, Location, ParameterExtractor, TimeLayout
Constant Summary collapse
- VERSION =
"1.1.3"
Instance Attribute Summary collapse
-
#output ⇒ Object
readonly
Returns the value of attribute output.
-
#xmldoc ⇒ Object
readonly
Returns the value of attribute xmldoc.
Instance Method Summary collapse
-
#initialize(xmldoc) ⇒ DWML
constructor
A new instance of DWML.
- #process ⇒ Object
Constructor Details
#initialize(xmldoc) ⇒ DWML
Returns a new instance of DWML.
14 15 16 17 |
# File 'lib/dwml.rb', line 14 def initialize(xmldoc) @xmldoc = xmldoc @output = {} end |
Instance Attribute Details
#output ⇒ Object (readonly)
Returns the value of attribute output.
12 13 14 |
# File 'lib/dwml.rb', line 12 def output @output end |
#xmldoc ⇒ Object (readonly)
Returns the value of attribute xmldoc.
12 13 14 |
# File 'lib/dwml.rb', line 12 def xmldoc @xmldoc end |
Instance Method Details
#process ⇒ Object
19 20 21 22 23 |
# File 'lib/dwml.rb', line 19 def process build_head build_data output end |