Class: Flipflop::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/flipflop/engine.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#rake_task_executingObject

Returns the value of attribute rake_task_executing.



3
4
5
# File 'lib/flipflop/engine.rb', line 3

def rake_task_executing
  @rake_task_executing
end

Instance Method Details

#run_tasks_blocks(app) ⇒ Object



44
45
46
47
48
# File 'lib/flipflop/engine.rb', line 44

def run_tasks_blocks(app)
  # Skip initialization if we're in a rake task.
  self.rake_task_executing = true
  super
end