Module: Achievable

Defined in:
lib/achievable.rb,
lib/achievable/dsl.rb,
lib/achievable/engine.rb,
lib/achievable/version.rb,
lib/achievable/achiever.rb,
lib/achievable/achieve_manager.rb

Defined Under Namespace

Modules: AchieveManager, Achiever, DSL Classes: Engine

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Class Method Details

.resque_enableObject



14
# File 'lib/achievable.rb', line 14

def self.resque_enable; false; end

.set_resque_enable(true_or_false) ⇒ Object

Set which enable resque.

Achievable.set_resque_enable


10
11
12
# File 'lib/achievable.rb', line 10

def self.set_resque_enable(true_or_false)
  singleton_class.send :define_method, :resque_enable, lambda { true_or_false }
end