Module: GirFFIGst::AutoArgv::ClassMethods

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

Overview

Implementation of class methods for AutoArgv

Instance Method Summary collapse

Instance Method Details

#init_with_auto_argvObject



16
17
18
19
20
# File 'lib/gir_ffi-gst/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