Method: Canis::App#initialize
- Defined in:
- lib/canis/core/util/app.rb
#initialize(config = {}, &block) ⇒ App
TODO: i should be able to pass window coords here in config :title
85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/canis/core/util/app.rb', line 85 def initialize config={}, &block @config = config @variables = {} # if we are creating child objects then we will not use outer form. this object will manage #@current_object = [] # 2014-08-29 - 17:35 unused @_system_commands = %w{ bind_global bind_component field_help_text } init_vars $log.debug "XXX APP CONFIG: #{@config} " if $log.debug? run &block end |