Class: Derelicte::InlinerJob
- Inherits:
-
Object
- Object
- Derelicte::InlinerJob
- Defined in:
- lib/derelicte/inliner_job.rb
Instance Attribute Summary collapse
-
#doc ⇒ Object
readonly
Returns the value of attribute doc.
Instance Method Summary collapse
- #apply_rules_to_doc ⇒ Object
-
#initialize(doc, analyzer) ⇒ InlinerJob
constructor
A new instance of InlinerJob.
Constructor Details
#initialize(doc, analyzer) ⇒ InlinerJob
Returns a new instance of InlinerJob.
5 6 7 |
# File 'lib/derelicte/inliner_job.rb', line 5 def initialize(doc, analyzer) @doc, @analyzer = doc, analyzer end |
Instance Attribute Details
#doc ⇒ Object (readonly)
Returns the value of attribute doc.
3 4 5 |
# File 'lib/derelicte/inliner_job.rb', line 3 def doc @doc end |
Instance Method Details
#apply_rules_to_doc ⇒ Object
9 10 11 12 13 |
# File 'lib/derelicte/inliner_job.rb', line 9 def apply_rules_to_doc each_elements do |element| apply_rules_to(element) end end |