class DailyRep::AppContainer

Public Class Methods

new() click to toggle source
# File lib/dailyrep/AppContainer.rb, line 6
def initialize
  @track_array = []
  Configer.enabled_entities.each { |entity|
    @track_array.concat(DailyRep::Entities::const_get(entity.capitalize).create)
  }
end

Public Instance Methods

start!() click to toggle source
# File lib/dailyrep/AppContainer.rb, line 14
def start!
  #all objects running
  @track_array.each { |obj|
    obj.run
  }
end
write_html() click to toggle source
# File lib/dailyrep/AppContainer.rb, line 21
def write_html
  IBrowser.write_html if Configer.is_phase_enabled? "write_html"
end