Module: Djinn::Rails

Includes:
Base
Defined in:
lib/djinn/rails.rb,
lib/djinn/rails/handlers.rb

Overview

The basis for all Djinn that want to soar among the Rails stars

Defined Under Namespace

Modules: Handlers

Constant Summary collapse

RAILS_ROOT =
File.expand_path(Dir.pwd)

Instance Attribute Summary

Attributes included from Base

#config

Class Method Summary collapse

Methods included from Base

#handle_exit, #initialize, #perform, #restart, #run, #start, #stop

Methods included from Base::Logging

#cyan, #green, #log, #red

Methods included from Base::Tonic

#daemonize

Class Method Details

.included(base) ⇒ Object



16
17
18
19
# File 'lib/djinn/rails.rb', line 16

def self.included(base)
  base.__send__(:extend, Djinn::Rails::Handlers)
  base.__send__(:extend, Djinn::Base::Dsl)
end