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.1.12 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.1.11 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.1.10 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.1.9 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.1.8 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.1.7 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.1.6 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.1.5 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.1.4 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.1.3 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.1.2 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.1.1 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.1.0 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.0.6 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.0.5 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.0.4 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.0.3 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.0.2 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.0.1 lib/generators/effective_datatables/install_generator.rb
effective_datatables-2.0.0 lib/generators/effective_datatables/install_generator.rb