Sha256: 9e313d9cc14d811308640320bf8635fe971b1c5a2508e7202125acdad3734280

Contents?: true

Size: 267 Bytes

Versions: 3

Compression:

Stored size: 267 Bytes

Contents

# lib/railtie.rb
require 'rabbit_carrots'

module RabbitCarrots
  class Railtie < Rails::Railtie
    railtie_name :rabbit_carrots

    rake_tasks do
      path = File.expand_path(__dir__)
      Dir.glob("#{path}/tasks/**/*.rake").each { |f| load f }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rabbit_carrots-0.1.14 lib/rabbit_carrots/railtie.rb
rabbit_carrots-0.1.13 lib/rabbit_carrots/railtie.rb
rabbit_carrots-0.1.12 lib/rabbit_carrots/railtie.rb