==( other )
click to toggle source
def ==( other )
@argv == other.argv
end
[](idx)
click to toggle source
def [](idx)
@argv[idx]
end
blank?()
click to toggle source
def blank?
@argv.empty? || (@argv.first.strip.size == 0)
end
executable?()
click to toggle source
def executable?
::Launchy::Application.find_executable( @argv.first )
end
to_s()
click to toggle source
def to_s
@argv.join(' ')
end
to_str()
click to toggle source
valid?()
click to toggle source
def valid?
(not blank?) && executable?
end