class Flipflop::Engine

Attributes

rake_task_executing[RW]

Public Instance Methods

run_tasks_blocks(app) click to toggle source
Calls superclass method
# 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

Private Instance Methods

to_prepare() click to toggle source
# File lib/flipflop/engine.rb, line 52
def to_prepare
  klass = defined?(ActiveSupport::Reloader) ? ActiveSupport::Reloader : ActionDispatch::Reloader
  klass.to_prepare(&Proc.new)
end