Class: SeeLessEssEss::Extractor
- Inherits:
-
Object
- Object
- SeeLessEssEss::Extractor
- Defined in:
- lib/see-less-ess-ess.rb
Defined Under Namespace
Classes: Collector
Instance Method Summary collapse
- #css_classes ⇒ Object
- #html_tags ⇒ Object
-
#initialize(glob) ⇒ Extractor
constructor
A new instance of Extractor.
Constructor Details
#initialize(glob) ⇒ Extractor
Returns a new instance of Extractor.
10 11 12 13 |
# File 'lib/see-less-ess-ess.rb', line 10 def initialize(glob) @glob = glob @extracted = false end |
Instance Method Details
#css_classes ⇒ Object
15 16 17 18 |
# File 'lib/see-less-ess-ess.rb', line 15 def css_classes extract_if_needed @css_classes end |
#html_tags ⇒ Object
19 20 21 22 |
# File 'lib/see-less-ess-ess.rb', line 19 def extract_if_needed @html_tags end |