Sha256: 7b9585b775730659e214631bc1b02d6565992d44fedaca309d742fb63e952a1e

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 Bytes

Contents

module NextBuses
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path('../templates', __FILE__)

      def copy_initializer
        copy_file 'next_buses.rb', 'config/initializers/next_buses.rb'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
next_buses-0.1.3 lib/generators/next_buses/install_generator.rb
next_buses-0.1.2 lib/generators/next_buses/install_generator.rb