A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.ruby-lang.org/en/3.4/Zlib/GzipFile/Error.html below:

class Zlib::GzipFile::Error - Documentation for Ruby 3.4

  1. Zlib::
  2. GzipFile::
  3. Error
class Zlib::GzipFile::Error

Base class of errors that occur when processing GZIP files.

Attributes input [R]

input gzipped string

Public Instance Methods inspect ()

Source

static VALUE
gzfile_error_inspect(VALUE error)
{
    VALUE str = rb_call_super(0, 0);
    VALUE input = rb_attr_get(error, id_input);

    if (!NIL_P(input)) {
        rb_str_resize(str, RSTRING_LEN(str)-1);
        rb_str_cat2(str, ", input=");
        rb_str_append(str, rb_str_inspect(input));
        rb_str_cat2(str, ">");
    }
    return str;
}

Constructs a String of the GzipFile Error


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4