Module: Whereuat::Helpers

Defined in:
lib/whereuat/helpers.rb

Instance Method Summary collapse

Instance Method Details

#whereuatObject



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

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

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