Module: GirFFIGtk::AutoArgv::ClassMethods

Defined in:
lib/gir_ffi-gtk/base.rb

Overview

Implementation of class methods for AutoArgv

Instance Method Summary collapse

Instance Method Details

#init_with_auto_argvObject



14
15
16
17
18
# File 'lib/gir_ffi-gtk/base.rb', line 14

def init_with_auto_argv
  remaining = init_without_auto_argv([$PROGRAM_NAME, *ARGV]).to_a
  remaining.shift
  ARGV.replace remaining
end