Sha256: 134e53f67e2c47c546e25a18ec760ed9cc59687862ad2524be3044bfde9f7e79

Contents?: true

Size: 660 Bytes

Versions: 4

Compression:

Stored size: 660 Bytes

Contents

begin
  # Fat binaries for Windows
  RUBY_VERSION =~ /(\d+.\d+)/
  require "#{$1}/rocketamf_ext"
rescue LoadError
  require "rocketamf_ext"
end

module RocketAMF
  # This module holds all the modules/classes that implement AMF's functionality
  # in C
  module Ext
    $DEBUG and warn "Using C library for RocketAMF."
  end

  #:stopdoc:
  # Import serializer/deserializer
  Deserializer = RocketAMF::Ext::Deserializer
  Serializer = RocketAMF::Ext::Serializer

  # Modify envelope so it can serialize/deserialize
  class Envelope
    remove_method :populate_from_stream
    remove_method :serialize
    include RocketAMF::Ext::Envelope
  end
  #:startdoc:
end

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
scalm-RocketAMF-1.0.0-x86_64-darwin-13 lib/rocketamf/ext.rb
scalm-RocketAMF-1.0.0 lib/rocketamf/ext.rb
RocketAMF-ouvrages-1.0.0 lib/rocketamf/ext.rb
rocketamf_pure-1.0.0 lib/rocketamf/ext.rb