Sha256: 892f2e9a7d5bc4d60a6bb18699a46a8728f9964a8053bca010012f325787b83f

Contents?: true

Size: 263 Bytes

Versions: 1

Compression:

Stored size: 263 Bytes

Contents

# lib/railtie.rb
require 'bubbler'
require 'rails'

module Bubbler
  class Railtie < Rails::Railtie
    railtie_name :bubbler

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bubbler_ruby-0.1.0 lib/bubbler/railtie.rb