Parse and return an int from string
Parse and return a Time
from string
Handles start_document
events with version
, tag_directives
, and implicit
styling.
Handles end_document
events with version
, tag_directives
, and implicit
styling.
Start a document emission with YAML version
, tags
, and an implicit
start.
End a document emission with an implicit
ending.
Start emitting a sequence with anchor
, a tag
, implicit
sequence start and end, along with style
.
Start emitting a YAML map with anchor
, tag
, an implicit
start and end, and style
.
Get the preferred line width.
Set
the preferred line with to width
.
Represents SMTP
error code 4xx, a temporary error.
Represents an SMTP
command syntax error (error code 500)
Now that we’ve got something that is always here, define to_s so when code tries to use this, it at least just shows up like it should.
Now that we’ve got something that is always here, define to_s so when code tries to use this, it at least just shows up like it should.
Raised by exit
to initiate the termination of the script.
Raised when encountering Ruby code with an invalid syntax.
eval("1+1=2")
raises the exception:
SyntaxError: (eval):1: syntax error, unexpected '=', expecting $end