Sha256: 816e03630a23a5043e63a91275083d5e8efa3ca85aa7250b9e756e7b7480c32d

Contents?: true

Size: 389 Bytes

Versions: 2

Compression:

Stored size: 389 Bytes

Contents

require 'gir_ffi'

GirFFI.setup :Tracker

module Tracker
  load_class :SparqlCursor

  class SparqlCursor
    _setup_instance_method "get_string"

    def get_string_with_hidden_length column
      result, _ = *get_string_without_hidden_length(column)
      result
    end

    alias get_string_without_hidden_length get_string
    alias get_string get_string_with_hidden_length
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gir_ffi-tracker-0.1.2 lib/gir_ffi-tracker.rb
gir_ffi-tracker-0.1.1 lib/gir_ffi-tracker.rb