class Launchy::Argv
Internal: Ecapsulate the commandline argumens passed to Launchy
def ==(other)
def ==(other) @argv == other.argv end
def [](idx)
def [](idx) @argv[idx] end
def blank?
def blank? @argv.empty? || @argv.first.strip.empty? end
def executable?
def executable? ::Launchy::Application.find_executable(@argv.first) end
def initialize(*args)
def initialize(*args) @argv = args.flatten end
def to_s
def to_s @argv.join(" ") end
def to_str
def to_str to_s end
def valid?
def valid? !blank? && executable? end