class Eye::Controller

Attributes

applications[R]
current_config[R]

Public Class Methods

new() click to toggle source
# File lib/eye/controller.rb, line 36
def initialize
  @applications = []
  @current_config = Eye::Config.new

  Celluloid::logger = Eye::Logger.new('celluloid')
  Eye::SystemResources.cache

  info "starting #{Eye::ABOUT} <#{$$}>"
end

Public Instance Methods

logger_tag() click to toggle source
# File lib/eye/controller.rb, line 50
def logger_tag
  'Eye'
end
settings() click to toggle source
# File lib/eye/controller.rb, line 46
def settings
  current_config.settings
end