Module: Apphtml::ApplicationHelper

Included in:
ApplicationHelper
Defined in:
lib/apphtml.rb

Instance Method Summary collapse

Instance Method Details

#cssObject



29
30
31
# File 'lib/apphtml.rb', line 29

def css
  @css ||= U::uni_array
end

#jsObject



33
34
35
# File 'lib/apphtml.rb', line 33

def js
  @js ||= U::uni_array
end

#media_typeObject



21
22
23
# File 'lib/apphtml.rb', line 21

def media_type
  @media_type ||= :"screen, handheld, tv, projection, print"
end

#media_type=(typ) ⇒ Object



25
26
27
# File 'lib/apphtml.rb', line 25

def media_type= typ
  @media_type = typ
end