Sha256: d4bcd300f4e891d496d3fa8cdf2957f025ae9dc6f69f7afbc08a9b9b2cedf276

Contents?: true

Size: 371 Bytes

Versions: 1

Compression:

Stored size: 371 Bytes

Contents

# frozen_string_literal: true

require 'thor'
require 'thor/group'

module Rubocop
  module Getninjas
    class Install < Thor::Group
      include Thor::Actions
      source_root File.expand_path('./generators/templates', __dir__)

      desc 'Create .rubocop.yml'
      def create_rubocop_yml
        copy_file 'rubocop.yml', '.rubocop.yml'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubocop-getninjas-0.1.0 lib/rubocop/getninjas/install.rb