File: engine.rb

package info (click to toggle)
ruby-voight-kampff 1.1.3-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 340 kB
  • sloc: ruby: 240; makefile: 4
file content (14 lines) | stat: -rw-r--r-- 327 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module VoightKampff
  class Engine < Rails::Engine
	  config.root = '/usr/share/ruby-voight-kampff'
    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