class Shirka::App

Attributes

path[RW]

Public Class Methods

new() click to toggle source
# File lib/shirka/app.rb, line 8
def initialize
  setup
  init
end

Public Instance Methods

init() click to toggle source
# File lib/shirka/app.rb, line 16
def init     
end
load() click to toggle source
# File lib/shirka/app.rb, line 33
def load
  Dir[path + "/**/{view,controller}.rb"].each do |file|
    require_relative file
  end
end
setup() click to toggle source
# File lib/shirka/app.rb, line 13
def setup
end
start() click to toggle source
# File lib/shirka/app.rb, line 19
def start
  load
  starting
  main_controller = MainController.new self
  main_controller.start
  started
end
started() click to toggle source
# File lib/shirka/app.rb, line 30
def started
end
starting() click to toggle source
# File lib/shirka/app.rb, line 27
def starting
end