Module: Pubba::HTML::Helpers
- Defined in:
- lib/pubba/html/helpers.rb
Instance Method Summary collapse
Instance Method Details
#digest_url(url) ⇒ Object
12 13 14 |
# File 'lib/pubba/html/helpers.rb', line 12 def digest_url(url) url.start_with?('http') ? url : Pubba.asset_host[::Statica.digest_url(url)] end |
#page_body_tags ⇒ Object
8 9 10 |
# File 'lib/pubba/html/helpers.rb', line 8 def (@page.) end |
#page_head_tags ⇒ Object
4 5 6 |
# File 'lib/pubba/html/helpers.rb', line 4 def (@page.) end |