Class: Cavendish::Commands::Base

Inherits:
Object
  • Object
show all
Includes:
Utils
Defined in:
lib/cavendish/commands/base.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Utils

#copy_file, #copy_template, #error, #get_or_generate_destination_path, #get_template_path, #inject_to_json_file, #log, #parse_erb, #project_root_path, #remove_in_project, #run, #run_in_project

Instance Attribute Details

#configObject (readonly)

Returns the value of attribute config.



6
7
8
# File 'lib/cavendish/commands/base.rb', line 6

def config
  @config
end