Sha256: a8452466a536c2f0e818f9765b840d7af6a030136be1fc1f5d7970010f15ee75

Contents?: true

Size: 332 Bytes

Versions: 9

Compression:

Stored size: 332 Bytes

Contents

module GLib
  load_class :Variant

  # Overrides for GVariant, GLib's variant data type.
  class Variant
    setup_instance_method "get_string"

    def get_string_with_override
      get_string_without_override.first
    end

    alias get_string_without_override get_string
    alias get_string get_string_with_override
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gir_ffi-0.7.4 lib/ffi-glib/variant.rb
gir_ffi-0.7.3 lib/ffi-glib/variant.rb
gir_ffi-0.7.2 lib/ffi-glib/variant.rb
gir_ffi-0.7.1 lib/ffi-glib/variant.rb
gir_ffi-0.7.0 lib/ffi-glib/variant.rb
gir_ffi-0.6.7 lib/ffi-glib/variant.rb
gir_ffi-0.6.6 lib/ffi-glib/variant.rb
gir_ffi-0.6.5 lib/ffi-glib/variant.rb
gir_ffi-0.6.4 lib/ffi-glib/variant.rb