module GirFFIGtk::AutoArgv::ClassMethods

Implementation of class methods for AutoArgv

Public Instance Methods

init_with_auto_argv() click to toggle source
# File lib/gir_ffi-gtk/base.rb, line 16
def init_with_auto_argv
  remaining = init_without_auto_argv([$PROGRAM_NAME, *ARGV]).to_a
  remaining.shift
  ARGV.replace remaining
end