Sha256: 96b391eb374f579ddec1b15f8eb1969e7b8a011feb2592239693441e048c9584

Contents?: true

Size: 341 Bytes

Versions: 4

Compression:

Stored size: 341 Bytes

Contents

module RailsLiveDashboard
  class InstallGenerator < Rails::Generators::Base
    desc 'Create configuration file to RailsLiveDashboard'

    source_root File.expand_path('../templates', __dir__)

    def copy_initializer_file
      copy_file 'initializer.rb', Rails.root.join('config/initializers/rails_live_dashboard.rb')
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_live_dashboard-0.2.0 lib/generators/rails_live_dashboard/install_generator.rb
rails_live_dashboard-0.1.2 lib/generators/rails_live_dashboard/install_generator.rb
rails_live_dashboard-0.1.1 lib/generators/rails_live_dashboard/install_generator.rb
rails_live_dashboard-0.1.0 lib/generators/rails_live_dashboard/install_generator.rb