biola/Voight-Kampff

View on GitHub
lib/voight_kampff/engine.rb

Summary

Maintainability
A
0 mins
Test Coverage
module VoightKampff
  class Engine < Rails::Engine
    rake_tasks do
      load 'tasks/voight_kampff.rake'
    end

    initializer :add_voight_kampff_methods do |app|
      ActionDispatch::Request.class_eval do
        include VoightKampff::Methods
      end
    end
  end
end