Sha256: 1750642767914612cd4e83e1e54aea58b16db868352447c5a7d68ae79c540334

Contents?: true

Size: 258 Bytes

Versions: 32

Compression:

Stored size: 258 Bytes

Contents

# -*- encoding: binary -*-
# :enddoc:
#
# Used to make Rainbows::Fiber::IO behave like 0.97.0 and earlier
module Rainbows::Fiber::IO::Compat
  def initialize(io, fiber = Fiber.current)
    @to_io, @f = io, fiber
  end

  def close
    @to_io.close
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
rainbows-5.2.1 lib/rainbows/fiber/io/compat.rb
rainbows-5.2.0 lib/rainbows/fiber/io/compat.rb
rainbows-5.1.1 lib/rainbows/fiber/io/compat.rb
rainbows-5.1.0 lib/rainbows/fiber/io/compat.rb
rainbows-5.0.0.5.ge717 lib/rainbows/fiber/io/compat.rb
rainbows-5.0.0 lib/rainbows/fiber/io/compat.rb
rainbows-4.7.0 lib/rainbows/fiber/io/compat.rb
rainbows-4.6.2 lib/rainbows/fiber/io/compat.rb
rainbows-4.6.1 lib/rainbows/fiber/io/compat.rb
rainbows-4.6.0.4.g4108 lib/rainbows/fiber/io/compat.rb
rainbows-4.6.0 lib/rainbows/fiber/io/compat.rb
rainbows-4.5.0 lib/rainbows/fiber/io/compat.rb
rainbows-4.4.3 lib/rainbows/fiber/io/compat.rb
rainbows-4.4.2 lib/rainbows/fiber/io/compat.rb
rainbows-4.4.1.1.gd5c8c lib/rainbows/fiber/io/compat.rb
rainbows-4.4.1 lib/rainbows/fiber/io/compat.rb
rainbows-4.4.0 lib/rainbows/fiber/io/compat.rb
rainbows-4.3.1 lib/rainbows/fiber/io/compat.rb
rainbows-4.3.0 lib/rainbows/fiber/io/compat.rb
rainbows-4.2.0 lib/rainbows/fiber/io/compat.rb