Class: DWML::DataExtractor
- Inherits:
-
Object
- Object
- DWML::DataExtractor
- Defined in:
- lib/dwml/data_extractor.rb
Instance Attribute Summary collapse
-
#element ⇒ Object
readonly
Returns the value of attribute element.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
Instance Method Summary collapse
-
#initialize(element) ⇒ DataExtractor
constructor
A new instance of DataExtractor.
- #process ⇒ Object
Constructor Details
#initialize(element) ⇒ DataExtractor
Returns a new instance of DataExtractor.
9 10 11 12 13 14 |
# File 'lib/dwml/data_extractor.rb', line 9 def initialize(element) @element = element @locations = [] @time_layouts = [] @output = {} end |
Instance Attribute Details
#element ⇒ Object (readonly)
Returns the value of attribute element.
7 8 9 |
# File 'lib/dwml/data_extractor.rb', line 7 def element @element end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
7 8 9 |
# File 'lib/dwml/data_extractor.rb', line 7 def output @output end |
Instance Method Details
#process ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/dwml/data_extractor.rb', line 16 def process extract_locations extract_time_layouts extract_parameters output end |