method

open

ruby latest stable - Class: Gem::Package::TarInput

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

open(io, security_policy = nil, &block)
public

No documentation available.

# File lib/rubygems/package/tar_input.rb, line 18
  def self.open(io, security_policy = nil,  &block)
    is = new io, security_policy

    yield is
  ensure
    is.close if is
  end