class KDE::CmdLineArgs

Public Class Methods

new(args) click to toggle source
# File lib/rui/toolkits/qt/qt.rb, line 219
def initialize(args)
  @args = args
end
parsed_args() click to toggle source
# File lib/rui/toolkits/qt/qt.rb, line 215
def self.parsed_args
  new(ARGV)
end

Public Instance Methods

[](i) click to toggle source
# File lib/rui/toolkits/kde/kde.rb, line 72
def [](i)
  arg(i)
end
count() click to toggle source
# File lib/rui/toolkits/qt/qt.rb, line 227
def count
  @args.size
end
is_set(name) click to toggle source
# File lib/rui/toolkits/kde/kde.rb, line 76
def is_set(name)
  isSet(Qt::ByteArray.new(name))
end