Sha256: 9d3db2eeaa42198ae6752c1aac13edc6a6177a6a7dd1d8a427063257426c83de

Contents?: true

Size: 300 Bytes

Versions: 4

Compression:

Stored size: 300 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
totoro-0.2.0 lib/generators/totoro/config_generator.rb
totoro-0.1.6 lib/generators/totoro/config_generator.rb
totoro-0.1.5 lib/generators/totoro/config_generator.rb
totoro-0.1.4 lib/generators/totoro/config_generator.rb