Class: SeeLessEssEss::Extractor

Inherits:
Object
  • Object
show all
Defined in:
lib/see-less-ess-ess.rb

Defined Under Namespace

Classes: Collector

Instance Method Summary collapse

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_classesObject



15
16
17
18
# File 'lib/see-less-ess-ess.rb', line 15

def css_classes
  extract_if_needed
  @css_classes
end

#html_tagsObject



19
20
21
22
# File 'lib/see-less-ess-ess.rb', line 19

def html_tags
  extract_if_needed
  @html_tags
end