class PwdWish
Public Instance Methods
aliases()
click to toggle source
# File lib/rubeepass/wish/pwd_wish.rb, line 4 def aliases return ["pwd"] end
description()
click to toggle source
# File lib/rubeepass/wish/pwd_wish.rb, line 8 def description return "Show path of current group" end
execute(args, djinni_env = Hash.new)
click to toggle source
# File lib/rubeepass/wish/pwd_wish.rb, line 12 def execute(args, djinni_env = Hash.new) puts djinni_env["cwd"].path if (args.empty?) usage if (!args.empty?) end
usage()
click to toggle source
# File lib/rubeepass/wish/pwd_wish.rb, line 17 def usage puts aliases.join(", ") puts " #{description}." end