Class: Pik::Tag
- Includes:
- ConfigFileEditor
- Defined in:
- lib/pik/commands/tag_command.rb
Instance Attribute Summary
Attributes inherited from Command
#config, #options, #output, #version
Instance Method Summary collapse
Methods included from ConfigFileEditor
Methods inherited from Command
#add_sigint_handler, aka, choose_from, clean_gem_batch, #close, cmd_name, #command_options, #create, #current_gem_bin_path, #current_version?, #default_gem_home, #delete_old_pik_batches, description, #editors, #find_config_from_path, #get_version, hl, inherited, #initialize, it, names, #parse_options, summary
Instance Method Details
#execute ⇒ Object
44 45 46 47 48 49 50 51 |
# File 'lib/pik/commands/tag_command.rb', line 44 def execute config.global[:tags] ||= Hash.new @args.each do |arg| = config.global[:tags] [arg] ||= [] [arg] << find_config_from_path end end |