$36 GRAYBYTE WORDPRESS FILE MANAGER $31

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

/opt/cpanel/ea-ruby27/root/usr/share/ruby/ruby-2.7.8/rubygems/package/

HOME
Current File : /opt/cpanel/ea-ruby27/root/usr/share/ruby/ruby-2.7.8/rubygems/package//io_source.rb
# frozen_string_literal: true
##
# 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 [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
21 Mar 2024 10.21 AM
root / root
0755
tar_reader
--
21 Mar 2024 10.21 AM
root / root
0755
digest_io.rb
1.333 KB
30 Mar 2023 12.34 PM
root / root
0644
file_source.rb
0.597 KB
30 Mar 2023 12.34 PM
root / root
0644
io_source.rb
0.751 KB
30 Mar 2023 12.34 PM
root / root
0644
old.rb
3.629 KB
30 Mar 2023 12.34 PM
root / root
0644
source.rb
0.069 KB
30 Mar 2023 12.34 PM
root / root
0644
tar_header.rb
5.911 KB
30 Mar 2023 12.34 PM
root / root
0644
tar_reader.rb
2.379 KB
30 Mar 2023 12.34 PM
root / root
0644
tar_test_case.rb
3.648 KB
30 Mar 2023 12.34 PM
root / root
0644
tar_writer.rb
7.539 KB
30 Mar 2023 12.34 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF