Module: GirFFIGst::AutoArgv
- Included in:
- Gst
- Defined in:
- lib/gir_ffi-gst/base.rb
Overview
Override init to automatically use ARGV as its argument.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/gir_ffi-gst/base.rb', line 6 def self.included(base) base.extend ClassMethods class << base alias_method :init_without_auto_argv, :init alias_method :init, :init_with_auto_argv end end |