class Byebug::VarCommand
def execute
def execute return puts(self.class.help) unless @match[1] subcmd = Command.find(Subcommands, @match[1]) return errmsg("Unknown var command #{@match[1]}\n") unless subcmd if @state.context send("var_#{subcmd.name}", @match[2]) else errmsg "'var #{subcmd.name}' not available without a context.\n" end end