Class: Pik::Rake

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

Instance Attribute Summary

Attributes inherited from Command

#config, #debug, #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

#actual_gem_home, #add_sigint_handler, aka, choose_from, #close, cmd_name, #cmd_name, #command_options, #create, #current_gem_bin_path, #current_version?, #default_gem_home, #delete_old_pik_script, description, #editors, #find_config_from_path, #gem_path, #get_version, hl, inherited, #initialize, it, names, #parse_options, #pik_version, #sh, summary

Constructor Details

This class inherits a constructor from Pik::Command

Instance Method Details

#args_required?Boolean

Returns:

  • (Boolean)


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

def args_required?
  false
end

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



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

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

#help_messageObject



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

def help_message
  sep =<<SEP
  Examples:

C:\\>pik rake spec

SEP
end