class PwdWish

Public Instance Methods

aliases() click to toggle source
# File lib/git_xplorer/wish/pwd_wish.rb, line 4
def aliases
    return ["pwd"]
end
description() click to toggle source
# File lib/git_xplorer/wish/pwd_wish.rb, line 8
def description
    return "Show path of current path"
end
execute(args, djinni_env = Hash.new) click to toggle source
# File lib/git_xplorer/wish/pwd_wish.rb, line 12
def execute(args, djinni_env = Hash.new)
    if (!args.empty?)
        usage
    else
        puts djinni_env["gitXplorer"].pwd
    end
end
usage() click to toggle source
# File lib/git_xplorer/wish/pwd_wish.rb, line 20
def usage
    puts aliases.join(", ")
    puts "    #{description}."
end