Module: Hoverboard::Helpers

Defined in:
lib/hoverboard/helpers.rb

Instance Method Summary collapse

Instance Method Details

#hoverboardObject



3
4
5
6
7
8
# File 'lib/hoverboard/helpers.rb', line 3

def hoverboard
  wua = "<style type='text/css'>#{Hoverboard.inline_css}</style>" +
        "<script type='text/javascript'>#{Hoverboard.inline_javascript}</script>"

  wua.respond_to?(:html_safe) ? wua.html_safe : wua
end