Ripper
doesn’t include the rest of the token in the event, so we need to trim it down to just the content on the first line when comparing.
Raised when the query given to a pattern is either invalid Ruby
syntax or is using syntax that we don’t yet support.
A field representing the start and end byte columns.
A field representing the start and end character columns.
Searches for gems starting with the supplied argument.
Used internally to indicate that a dependency conflicted with a spec that would be activated.
A set of gems for installation sourced from remote sources and local .gem files
Represents an installed gem. This is used for dependency resolution.
Class for representing WebDAV method MOVE:
require 'net/http' uri = URI('http://example.com') hostname = uri.hostname # => "example.com" req = Net::HTTP::Move.new(uri) # => #<Net::HTTP::Move MOVE> res = Net::HTTP.start(hostname) do |http| http.request(req) end
See Request Headers.
Related:
Net::HTTP#move
: sends MOVE
request, returns response object.
Raised when a bad requirement is encountered
A progress reporter that prints out messages about the current progress.
This exception is raised if a parser error occurs.
This exception is raised if a generator or unparser error occurs.
This class works in conjunction with Psych::Parser
to build an in-memory parse tree that represents a YAML
document.
parser = Psych::Parser.new Psych::TreeBuilder.new parser.parse('--- foo') tree = parser.handler.root
See Psych::Handler
for documentation on the event methods used in this class.
Subclass of Zlib::Error
When zlib returns a Z_MEM_ERROR, usually if there was not enough memory.
Subclass of Zlib::Error
. This error is raised when the zlib stream is currently in progress.
For example:
inflater = Zlib::Inflate.new inflater.inflate(compressed) do inflater.inflate(compressed) # Raises Zlib::InProgressError end