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_argv ⇒ Object
16 17 18 19 20 |
# 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 |