Sha256: a2704f9f5ac9b8a77cc3f8e7dd7d07cb60f18033717eeeddd5fb46aad8f3209a

Contents?: true

Size: 268 Bytes

Versions: 9

Compression:

Stored size: 268 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

9 entries across 9 versions & 1 rubygems

Version Path
rabbit_carrots-1.0.2 lib/rabbit_carrots/railtie.rb
rabbit_carrots-1.0.1 lib/rabbit_carrots/railtie.rb
rabbit_carrots-1.0.0 lib/rabbit_carrots/railtie.rb
rabbit_carrots-0.1.20 lib/rabbit_carrots/railtie.rb
rabbit_carrots-0.1.19 lib/rabbit_carrots/railtie.rb
rabbit_carrots-0.1.18 lib/rabbit_carrots/railtie.rb
rabbit_carrots-0.1.17 lib/rabbit_carrots/railtie.rb
rabbit_carrots-0.1.16 lib/rabbit_carrots/railtie.rb
rabbit_carrots-0.1.15 lib/rabbit_carrots/railtie.rb