Class: Gemaker::Cmd::AddHoundRules

Inherits:
Base
  • Object
show all
Defined in:
lib/gemaker/commands/add_hound_rules.rb

Instance Method Summary collapse

Methods inherited from Base

#in_engine_context, #in_normal_context

Methods included from Util

#copy_file, #copy_template, #create_dir, #error, #execute, #execute_in_gem, #gem_root_path, #get_destination_path, #get_template_path, #info, #parse_erb, #remove_in_gem, #utils_path

Instance Method Details

#performObject



4
5
6
7
8
9
# File 'lib/gemaker/commands/add_hound_rules.rb', line 4

def perform
  execute_in_gem(
    "hound rules update ruby --local",
    "Missing tool. Please run `gem install hound-cli`."
  )
end