Sha256: fbce671c44f186bf84bb2aae88197a03c90896e46734887acdbdf8251bb3adbf

Contents?: true

Size: 439 Bytes

Versions: 4

Compression:

Stored size: 439 Bytes

Contents

require 'stringio'

$:.unshift File.join(File.dirname(__FILE__), *%w[.. ext])

require 'bert/bert'
require 'bert/types'

begin
  # try to load the C extension
  require 'bert/c/decode'
rescue LoadError
  # fall back on the pure ruby version
  require 'bert/decode'
end

require 'bert/encode'

require 'bert/encoder'
require 'bert/decoder'

# Global method for specifying that an array should be encoded as a tuple.
def t
  BERT::Tuple
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
bert-1.1.6 lib/bert.rb
bert-1.1.2-java lib/bert.rb
schleyfox-bert-1.1.2 lib/bert.rb
bert-1.1.2 lib/bert.rb