Class: Gotenberg::Analyzers::ModulePreload
- Inherits:
-
Base
- Object
- Base
- Gotenberg::Analyzers::ModulePreload
show all
- Defined in:
- lib/gotenberg/analyzers/module_preload.rb
Constant Summary
Constants inherited
from Base
Base::URI_REGEXP
Instance Attribute Summary
Attributes inherited from Base
#resource
Instance Method Summary
collapse
Methods inherited from Base
#call, #initialize
Instance Method Details
#assets ⇒ Object
10
11
12
|
# File 'lib/gotenberg/analyzers/module_preload.rb', line 10
def assets
@assets ||= [[binary, filename]]
end
|
#tag ⇒ Object
6
7
8
|
# File 'lib/gotenberg/analyzers/module_preload.rb', line 6
def tag
'<link rel="modulepreload" href="%s" />' % filename
end
|