Sha256: 107ec6aa53adf4481c20b0ec0ac76b2e88491e1746fe8afb74272070e4ebfc27
Contents?: true
Size: 553 Bytes
Versions: 1
Compression:
Stored size: 553 Bytes
Contents
UnderOs::App.instance_eval do def self.history @history ||= UnderOs::History.new end def self.stylesheet @stylesheet ||= UnderOs::Page::Stylesheet.new.tap do |stylesheet| stylesheets.each { |filename| stylesheet.load(filename) } end end 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 protected def self.root_controller history._ end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
under-os-ui-1.4.0 | lib/under_os/app.rb |