class Object
Public Class Methods
history()
click to toggle source
# File lib/under_os/app.rb, line 3 def self.history @history ||= UnderOs::History.new end
root_controller()
click to toggle source
# File lib/under_os/app.rb, line 22 def self.root_controller history._ end
stylesheet()
click to toggle source
# File lib/under_os/app.rb, line 7 def self.stylesheet @stylesheet ||= UnderOs::Page::Stylesheet.new.tap do |stylesheet| stylesheets.each { |filename| stylesheet.load(filename) } end end
stylesheets()
click to toggle source
# File lib/under_os/app.rb, line 13 def self.stylesheets ($stylesheets ||= []).tap do |files| files << "under-os.css" unless files.include?("under-os.css") files << "application.css" unless files.include?("application.css") end end