Sha256: d797a1140c2b74fed59ae9aaf514f229168bbd8c3375bb1aa1b17db4b35cc5fb

Contents?: true

Size: 468 Bytes

Versions: 122

Compression:

Stored size: 468 Bytes

Contents

module EffectiveDatatables
  module Generators
    class InstallGenerator < Rails::Generators::Base
      desc "Creates an EffectiveDatatables initializer in your application."

      source_root File.expand_path("../../templates", __FILE__)

      def copy_initializer
        template "effective_datatables.rb", "config/initializers/effective_datatables.rb"
      end

      def show_readme
        readme "README" if behavior == :invoke
      end
    end
  end
end

Version data entries

122 entries across 122 versions & 1 rubygems

Version Path
effective_datatables-2.6.21 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.6.20 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.6.19 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.6.18 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.6.17 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.6.16 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.6.15 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.6.14 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.6.13 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.6.12 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.6.11 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.6.10 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.6.9 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.6.8 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.6.7 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.6.6 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.6.5 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.6.4 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.6.3 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.6.2 lib/generators/effective_datatables/install_generator.rb