Sha256: 86cf2aabc4fcdc5c89fe0a48a367f328e329b5e4e33aed64a98cb5e676764eae

Contents?: true

Size: 318 Bytes

Versions: 1

Compression:

Stored size: 318 Bytes

Contents

require 'rails/generators'

module HumanPower
  class InstallGenerator < ::Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)

    desc "Creates a sample configuration file in config/robots.rb"
    def create_config_file
      copy_file "robots.rb", "config/robots.rb"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
human_power-0.0.1 lib/generators/human_power/install_generator.rb