Class: Gotenberg::Analyzers::Css
- Defined in:
- lib/gotenberg/analyzers/css.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Gotenberg::Analyzers::Base
Instance Method Details
#tag ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/gotenberg/analyzers/css.rb', line 8 def tag if resource[:inline] '<style type="text/css">%s</style>' % binary else '<link rel="stylesheet" href="%s" />' % filename end end |