Sha256: 6e186eec1ae2544f324ba6d7543604103b02beaf98eb6753e9b2c3bd83dfb4a3

Contents?: true

Size: 321 Bytes

Versions: 30

Compression:

Stored size: 321 Bytes

Contents

module WorldFlags
  module Generators
    class InitGenerator < ::Rails::Generators::Base
      desc "Creates world flags initializer"

      source_root File.dirname(__FILE__) + '/templates'

      def main_flow
        template "world_flags.erb", "config/initializers/world_flags.rb"
      end      
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
world-flags-0.6.6 lib/generators/world_flags/init_generator.rb
world-flags-0.6.5 lib/generators/world_flags/init_generator.rb
world-flags-0.6.4 lib/generators/world_flags/init_generator.rb
world-flags-0.6.3.1 lib/generators/world_flags/init_generator.rb
world-flags-0.6.3 lib/generators/world_flags/init_generator.rb
world-flags-0.6.2.1 lib/generators/world_flags/init_generator.rb
world-flags-0.6.2 lib/generators/world_flags/init_generator.rb
world-flags-0.6.1.1 lib/generators/world_flags/init_generator.rb
world-flags-0.6.1 lib/generators/world_flags/init_generator.rb
world-flags-0.6.0 lib/generators/world_flags/init_generator.rb
world-flags-0.5.1 lib/generators/world_flags/init_generator.rb
world-flags-0.5.0 lib/generators/world_flags/init_generator.rb
world-flags-0.4.9 lib/generators/world_flags/init_generator.rb
world-flags-0.4.8.3 lib/generators/world_flags/init_generator.rb
world-flags-0.4.8.2 lib/generators/world_flags/init_generator.rb
world-flags-0.4.7 lib/generators/world_flags/init_generator.rb
world-flags-0.4.5 lib/generators/world_flags/init_generator.rb
world-flags-0.4.4 lib/generators/world_flags/init_generator.rb
world-flags-0.4.3 lib/generators/world_flags/init_generator.rb
world-flags-0.4.2 lib/generators/world_flags/init_generator.rb