$98 GRAYBYTE WORDPRESS FILE MANAGER $32

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby22/lib64/ruby/2.2.0/rubygems/package/

HOME
Current File : /opt/alt/ruby22/lib64/ruby/2.2.0/rubygems/package//io_source.rb
##
# Supports reading and writing gems from/to a generic IO object.  This is
# useful for other applications built on top of rubygems, such as
# rubygems.org.
#
# This is a private class, do not depend on it directly. Instead, pass an IO
# object to `Gem::Package.new`.

class Gem::Package::IOSource < Gem::Package::Source # :nodoc: all

  attr_reader :io

  def initialize io
    @io = io
  end

  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

  def present?
    true
  end

  def with_read_io
    yield io
  end

  def with_write_io
    yield io
  end

  def path
  end

end



Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.43 PM
root / linksafe
0755
tar_reader
--
3 Mar 2024 10.43 PM
root / linksafe
0755
digest_io.rb
1.302 KB
29 Nov 2012 6.52 AM
root / linksafe
0644
file_source.rb
0.556 KB
14 Sep 2014 3.30 AM
root / linksafe
0644
io_source.rb
0.722 KB
14 Sep 2014 3.30 AM
root / linksafe
0644
old.rb
3.776 KB
14 Dec 2017 1.50 PM
root / linksafe
0644
source.rb
0.041 KB
14 Sep 2014 3.30 AM
root / linksafe
0644
tar_header.rb
5.488 KB
16 Feb 2018 4.27 PM
root / linksafe
0644
tar_reader.rb
2.365 KB
29 Nov 2012 6.52 AM
root / linksafe
0644
tar_test_case.rb
3.479 KB
14 Sep 2013 8.59 AM
root / linksafe
0644
tar_writer.rb
6.877 KB
16 Feb 2018 4.27 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF