Sha256: 22d983d77e6c9d5a3c1e0d713874590e87b9a4562e01b5b3945e68d196270355

Contents?: true

Size: 440 Bytes

Versions: 3

Compression:

Stored size: 440 Bytes

Contents

require File.dirname(__FILE__)+'/packable/jungle_survival_kit'

require_relative 'packable/packers'
require_relative 'packable/mixin'
[Object, Array, String, Integer, Float, IO, Proc].each do |klass|
  require_relative 'packable/extensions/' + klass.name.downcase
  klass.class_eval { include Packable::Extensions.const_get(klass.name) }
end
StringIO.class_eval { include Packable::Extensions::IO } # Since StringIO doesn't inherit from IO

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
marcandre-packable-1.1.1 lib/packable.rb
marcandre-packable-1.1.2 lib/packable.rb
marcandre-packable-1.1.3 lib/packable.rb