Class: DWML::HeadExtractor
- Inherits:
-
Object
- Object
- DWML::HeadExtractor
- Defined in:
- lib/dwml/head_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) ⇒ HeadExtractor
constructor
A new instance of HeadExtractor.
- #process ⇒ Object
Constructor Details
#initialize(element) ⇒ HeadExtractor
Returns a new instance of HeadExtractor.
7 8 9 10 |
# File 'lib/dwml/head_extractor.rb', line 7 def initialize(element) @element = element @output = {} end |
Instance Attribute Details
#element ⇒ Object (readonly)
Returns the value of attribute element.
5 6 7 |
# File 'lib/dwml/head_extractor.rb', line 5 def element @element end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
5 6 7 |
# File 'lib/dwml/head_extractor.rb', line 5 def output @output end |
Instance Method Details
#process ⇒ Object
12 13 14 15 16 |
# File 'lib/dwml/head_extractor.rb', line 12 def process build_product build_source output end |