Class: Pik::Rake

Inherits:
Run show all
Defined in:
lib/pik/commands/run_command.rb

Instance Attribute Summary

Attributes inherited from Command

#config, #options, #output, #version

Instance Method Summary collapse

Methods inherited from Run

#check_args, #command_options, #echo_ruby_version, #execute, #parse_options, #switch_gem_home_to, #switch_path_to

Methods inherited from Command

#add_sigint_handler, aka, choose_from, clean_gem_batch, #close, #cmd_name, 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

Constructor Details

This class inherits a constructor from Pik::Command

Instance Method Details

#args_required?Boolean

Returns:

  • (Boolean)


148
149
150
# File 'lib/pik/commands/run_command.rb', line 148

def args_required?
  false
end

#command(cmd = Which::Rake.bat.basename) ⇒ Object



135
136
137
# File 'lib/pik/commands/run_command.rb', line 135

def command(cmd=Which::Rake.bat.basename)
  super(cmd)
end

#help_messageObject



139
140
141
142
143
144
145
146
# File 'lib/pik/commands/run_command.rb', line 139

def help_message
  sep =<<SEP
  Examples:

C:\\>pik rake spec

SEP
end