def accept: (Visitor
visitor) -> void
def accept: (Visitor
visitor) -> void
def accept: (Visitor
visitor) -> void
def accept: (Visitor
visitor) -> void
def accept: (Visitor
visitor) -> void
def accept: (Visitor
visitor) -> void
def accept: (Visitor
visitor) -> void
Returns the lines of the source code as an array of strings.
Binary search through the offsets to find the line number for the given byte offset.
Returns true if this comment happens on the same line as other code and false if the comment is by itself.
This can only be true for inline comments.
Returns true if there were no errors during parsing and false if there were.
Look up the typeclass
DNS
resource of name
.
name
must be a Resolv::DNS::Name
or a String
.
typeclass
should be one of the following:
Resolv::DNS::Resource::IN::ANY
Resolv::DNS::Resource::IN::CNAME
Resolv::DNS::Resource::IN::HINFO
Resolv::DNS::Resource::IN::MINFO
Resolv::DNS::Resource::IN::MX
Resolv::DNS::Resource::IN::NS
Resolv::DNS::Resource::IN::PTR
Resolv::DNS::Resource::IN::SOA
Resolv::DNS::Resource::IN::TXT
Returned resource is represented as a Resolv::DNS::Resource
instance, i.e. Resolv::DNS::Resource::IN::A
.
Looks up all typeclass
DNS
resources for name
. See getresource
for argument details.
Return the authoritative instance of the command manager.
Returns self. Allows a CommandManager
instance to stand in for the class itself.
True if the backtrace option has been specified, or debug is on.
True if the dependency will not always match the latest version.
Creates a new package that will read or write to the file gem
.
True if the requirement will not always match the latest version.