Sha256: 142a6db152b9785e06456b220b20ae0e3533f00c7dd0baafd615e5d57b84bc49

Contents?: true

Size: 501 Bytes

Versions: 3

Compression:

Stored size: 501 Bytes

Contents

require 'mimi'
# require 'mimi/db'
# require 'mimi/messaging'

class <%= module_name %>::Application < Mimi::Application
  NAME = '<%= app_name %>'.freeze
  VERSION = '0.0.1'.freeze

  configure do
    # use Mimi::DB
    # use Mimi::Messaging
  end

  on :start do
    logger.info "** #{self.class.name_version} started"
  end

  every 1.second do
    logger.info "** tick"
  end

  on :stop do
    logger.info "** #{self.class.name_version} stopped"
  end
end # class <%= module_name %>::Application

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mimi-0.1.4 lib/mimi/cli/template/lib/file_name/application.rb
mimi-0.1.3 lib/mimi/cli/template/lib/file_name/application.rb
mimi-0.1.1 lib/mimi/cli/template/lib/file_name/application.rb