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.1 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.6.0 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.5.2 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.5.1 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.5.0 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.4.6 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.4.5 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.4.4 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.4.3 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.4.2 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.4.1 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.4.0 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.3.8 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.3.7 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.3.6 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.3.5 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.3.4 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.3.3 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.3.2 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.3.1 lib/generators/effective_datatables/install_generator.rb