method

start

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: IOSource
start() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/package/io_source.rb, line 18
  def start
    @start ||= begin
      if io.pos > 0
        raise Gem::Package::Error, "Cannot read start unless IO is at start"
      end

      value = io.read 20
      io.rewind
      value
    end
  end
Register or log in to add new notes.