Skip to content
On this page

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

module · Ruby 3.0

OpenURI::Meta

4 instance methods

Mixin for holding meta-information.

Instance methods 4

Attributes
Read & Write

returns a URI that is the base of relative URIs in the data. It may differ from the URI supplied by a user due to redirection.

Read

returns a Hash that represents header fields. The Hash keys are downcased for canonicalization. The Hash values are a field body. If there are multiple field with same field name, the field values are concatenated with a comma.

Read

returns a Hash that represents header fields. The Hash keys are downcased for canonicalization. The Hash value are an array of field values.

Read & Write

returns an Array that consists of status code and message.