Sha256: 72b1bc21a625bca54d34d998ce154ea9afc994cb91df1223fab7f9aafd855d82

Contents?: true

Size: 345 Bytes

Versions: 2

Compression:

Stored size: 345 Bytes

Contents

module Thermometer
  module Generators
    class InstallGenerator < Rails::Generators::Base

      source_root File.expand_path('../templates', __FILE__)

      desc "Copy default YML to config"
      def copy_yml
        copy_file 'thermometer.yml', 'config/thermometer.yml'
        git add: "config/thermometer.yml"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thermometer-0.0.3 lib/generators/thermometer/install_generator.rb
thermometer-0.0.2 lib/generators/thermometer/install_generator.rb