Class: FoxPage::Application

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Includes:
FoxPage::AppParts::Builder, FoxPage::AppParts::Configuration, FoxPage::AppParts::Routes, FoxPage::AppParts::Server, FoxPage::AppParts::Sprockets, Singleton
Defined in:
lib/fox_page/application.rb

Instance Attribute Summary

Attributes included from FoxPage::AppParts::Configuration

#code_loader, #config, #root

Attributes included from FoxPage::AppParts::Routes

#routes

Attributes included from FoxPage::AppParts::Sprockets

#sprockets

Instance Method Summary collapse

Methods included from FoxPage::AppParts::Builder

#build

Methods included from FoxPage::AppParts::Base

#init, #priority

Methods included from FoxPage::AppParts::Routes

#draw_routes, #reload_routes!

Methods included from FoxPage::AppParts::Server

#server

Instance Method Details

#initialize!Object



17
18
19
20
21
# File 'lib/fox_page/application.rb', line 17

def initialize!
  AppParts.initializers_for(self.class).each do |proc|
    instance_eval(&proc)
  end
end