Sha256: a6dbbc38c67b2dab7374bee655afdd2d857e92970f8a3152b5ecede3b5f64546

Contents?: true

Size: 405 Bytes

Versions: 5

Compression:

Stored size: 405 Bytes

Contents

# -*- coding: utf-8 -*-
class AppMainBase
  def initialize
    @config = nil
    @aboet = false
    @exec = false
    @suspend = false
  end

  def set_config(config)
    @config = config
  end

  def start(argv)
    @exec = true
  end

  def stop()
    @abort = true
    @exec = false
  end

  def suspend()
    @suspend = true
  end

  def resume()
    @suspend = false
  end
end

require "app_load.rb"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
browser_app_base-0.0.8 lib/template/server_app_base.rb
browser_app_base-0.0.7 lib/template/server_app_base.rb
browser_app_base-0.0.6 lib/template/server_app_base.rb
browser_app_base-0.0.5 lib/template/server_app_base.rb
browser_app_base-0.0.4 lib/template/server_app_base.rb