Outputs code with highlighted lines
Whatever is passed to this class will be rendered even if it is “marked invisible” any filtering of output should be done before calling this class.
DisplayCodeWithLineNumbers.new( lines: lines, highlight_lines: [lines[2], lines[3]] ).call # => 1 2 def cat > 3 Dir.chdir > 4 end 5 end 6
Cleared reference exception
The base exception for JSON
errors.
This exception is raised if a parser error occurs.
This exception is raised if the nesting of parsed data structures is too deep.
Generic Error for all of OpenSSL::BN
(big num)
Scan scalars for built in types
Subclass of Zlib::Error
When zlib returns a Z_VERSION_ERROR, usually if the zlib library version is incompatible with the version assumed by the caller.
Error raised when an error occurs on the underlying communication protocol.
An exception wrapping a DRb::DRbUnknown
object
Response class for Found
responses (status code 302).
The Found
response indicates that the client should look at (browse to) another URL. See 302 Found.
Response class for Temporary Redirect
responses (status code 307).
The request should be repeated with another URI
; however, future requests should still use the original URI
. See 307 Temporary Redirect.
Response class for Payload Too Large
responses (status code 413).
The request is larger than the server is willing or able to process. See 413 Payload Too Large.
Response class for Bad Gateway
responses (status code 502).
The server was acting as a gateway or proxy and received an invalid response from the upstream server. See 502 Bad Gateway.
Response class for Gateway Timeout
responses (status code 504).
The server was acting as a gateway or proxy and did not receive a timely response from the upstream server. See 504 Gateway Timeout.
Response class for Gateway Timeout
responses (status code 504).
The server was acting as a gateway or proxy and did not receive a timely response from the upstream server. See 504 Gateway Timeout.
Response class for Variant Also Negotiates
responses (status code 506).
Transparent content negotiation for the request results in a circular reference. See 506 Variant Also Negotiates.