Module: Pik

Defined in:
lib/pik.rb,
lib/pik/commands.rb,
lib/pik/config_file.rb,
lib/pik/version_parser.rb,
lib/pik/implementations.rb,
lib/pik/scripts/ps_file.rb,
lib/pik/commands/command.rb,
lib/pik/scripts/bash_file.rb,
lib/pik/scripts/batch_file.rb,
lib/pik/scripts/script_file.rb,
lib/pik/commands/add_command.rb,
lib/pik/commands/run_command.rb,
lib/pik/commands/tag_command.rb,
lib/pik/commands/use_command.rb,
lib/pik/commands/help_command.rb,
lib/pik/commands/info_command.rb,
lib/pik/commands/list_command.rb,
lib/pik/commands/config_command.rb,
lib/pik/commands/devkit_command.rb,
lib/pik/commands/remove_command.rb,
lib/pik/commands/update_command.rb,
lib/pik/commands/default_command.rb,
lib/pik/commands/gemsync_command.rb,
lib/pik/commands/implode_command.rb,
lib/pik/commands/install_command.rb,
lib/pik/commands/uninstall_command.rb,
lib/pik/commands/config_file_editor.rb,
lib/pik/commands/script_file_editor.rb

Defined Under Namespace

Modules: Commands, ConfigFileEditor, Implementations, ScriptFileEditor Classes: Add, BashFile, BatchFile, Benchmark, Command, Config, ConfigFile, Default, Devkit, Gem, GemSync, Help, Implode, Info, Install, List, PsFile, QuitError, Rake, Remove, Ruby, Run, ScriptFile, Tag, Tags, UnInstall, Update, Use, VersionParser, VersionUnknown

Constant Summary collapse

VERSION =
'0.2.8'
Scripts =
{
  '.cmd' => BatchFile, 
  '.bat' => BatchFile, 
  '.ps1' => PsFile, 
  '.sh'  => BashFile 
}

Class Method Summary collapse

Class Method Details



55
56
57
58
59
60
# File 'lib/pik.rb', line 55

def self.print_error(error)
  puts "\nThere was an error."
  puts " Error: #{error.message}\n\n"
  puts error.backtrace.map{|m| "  in: #{m}" }
  puts
end