Sha256: 4ac7dcf14670eb36ecf9624b732ccdc901b9eda05ce14f26d7235009c1a53d43

Contents?: true

Size: 306 Bytes

Versions: 1

Compression:

Stored size: 306 Bytes

Contents

module TestedPublicMethods
  class Railtie < Rails::Railtie
    rake_tasks do
      require "tested_public_methods/rake_task"
    end

    initializer "Include your code in the controller" do
      ActiveSupport.on_load(:action_controller) do
        include TestedPublicMethods
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tested_public_methods-1.0.0 lib/tested_public_methods/railtie.rb