Sha256: 2306411dac5c81e08f621cc269ce81be95997dd9970253b159f2ce1cd14d395b

Contents?: true

Size: 296 Bytes

Versions: 30

Compression:

Stored size: 296 Bytes

Contents

# frozen_string_literal: true

module Totoro
  class ConfigGenerator < Rails::Generators::Base
    source_root File.expand_path('templates', __dir__)
    desc 'Generate totoro config file'

    def copy_config_file
      template 'totoro.yml', File.join('config', 'totoro.yml')
    end
  end
end

Version data entries

30 entries across 29 versions & 1 rubygems

Version Path
totoro-1.0.7 lib/generators/totoro/config_generator.rb
totoro-1.0.6 pkg/totoro-1.0.5/lib/generators/totoro/config_generator.rb
totoro-1.0.6 lib/generators/totoro/config_generator.rb
totoro-1.0.5 lib/generators/totoro/config_generator.rb
totoro-1.0.4 lib/generators/totoro/config_generator.rb
totoro-1.0.3 lib/generators/totoro/config_generator.rb
totoro-1.0.2 lib/generators/totoro/config_generator.rb
totoro-1.0.1 lib/generators/totoro/config_generator.rb
totoro-1.0.0 lib/generators/totoro/config_generator.rb
totoro-0.6.1 lib/generators/totoro/config_generator.rb
totoro-0.6.0 lib/generators/totoro/config_generator.rb
totoro-0.5.7 lib/generators/totoro/config_generator.rb
totoro-0.5.6 lib/generators/totoro/config_generator.rb
totoro-0.5.5 lib/generators/totoro/config_generator.rb
totoro-0.5.4 lib/generators/totoro/config_generator.rb
totoro-0.5.3 lib/generators/totoro/config_generator.rb
totoro-0.5.2 lib/generators/totoro/config_generator.rb
totoro-0.5.1 lib/generators/totoro/config_generator.rb
totoro-0.5.0 lib/generators/totoro/config_generator.rb
totoro-0.4.1 lib/generators/totoro/config_generator.rb