Acts like a StringIO
with reduced API, but without having to require that class.
Find
mis-matched syntax based on lexical count
Used for detecting missing pairs of elements each keyword needs an end, each ‘{’ needs a ‘}’ etc.
Example:
left_right = LeftRightLexCount.new left_right.count_kw left_right.missing.first # => "end" left_right = LeftRightLexCount.new source = "{ a: b, c: d" # Note missing '}' LexAll.new(source: source).each do |lex| left_right.count_lex(lex) end left_right.missing.first # => "}"
Tracks which lines various code blocks have expanded to and which are still unexplored
Raised by transcoding methods when a named encoding does not correspond with a known converter.
Mixin module making an object undumpable or unmarshallable.
If an object which includes this module is returned by method called over drb, then the object remains in the server space and a reference to the object is returned, rather than the object being marshalled and moved into the client space.
Mixin module making an object undumpable or unmarshallable.
If an object which includes this module is returned by method called over drb, then the object remains in the server space and a reference to the object is returned, rather than the object being marshalled and moved into the client space.
This module has all methods of FileUtils
module, but never changes files/directories, with printing message before acting. This equates to passing the :noop
and :verbose
flag to methods in FileUtils
.
Immutable and read-only representation of a timestamp token info from a Response
.
Raised when unexpected case is happen.
Class for representing WebDAV method UNLOCK:
require 'net/http' uri = URI('http://example.com') hostname = uri.hostname # => "example.com" req = Net::HTTP::Unlock.new(uri) # => #<Net::HTTP::Unlock UNLOCK> res = Net::HTTP.start(hostname) do |http| http.request(req) end
See Request Headers.
Related:
Net::HTTP#unlock
: sends UNLOCK
request, returns response object.
A FetchError
that indicates that the reason for not being able to fetch data was that the host could not be contacted
Error raised when no cdylib artifact was created
IO
wrapper that allows writing a limited amount of data