Sha256: c966b2cf010900507be1bdf5f314b055c09463ee034b8d4567fb924627f99352

Contents?: true

Size: 378 Bytes

Versions: 12

Compression:

Stored size: 378 Bytes

Contents

module Isimud
  module Generators
    class ConfigGenerator < Rails::Generators::Base
      source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates'))

      desc 'Creates an Isimud gem configuration file at config/isimud.yml'
      def create_config_file
        template 'isimud.yml', File.join(Rails.root, 'config', 'isimud.yml')
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
isimud-1.4.7 lib/rails/generators/isimud/config_generator.rb
isimud-1.4.6 lib/rails/generators/isimud/config_generator.rb
isimud-1.4.5 lib/rails/generators/isimud/config_generator.rb
isimud-1.4.4 lib/rails/generators/isimud/config_generator.rb
isimud-0.7.0 lib/rails/generators/isimud/config_generator.rb
isimud-1.4.3 lib/rails/generators/isimud/config_generator.rb
isimud-1.3.9 lib/rails/generators/isimud/config_generator.rb
isimud-1.4.2 lib/rails/generators/isimud/config_generator.rb
isimud-1.4.1 lib/rails/generators/isimud/config_generator.rb
isimud-0.5.2 lib/rails/generators/isimud/config_generator.rb
isimud-1.3.8 lib/rails/generators/isimud/config_generator.rb
isimud-1.3.1 lib/rails/generators/isimud/config_generator.rb