Results for: "uniq!"

No documentation available

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 Unauthorized responses (status code 401).

Authentication is required, but either was not provided or failed. See 401 Unauthorized.

Response class for Not Found responses (status code 404).

The requested resource could not be found but may be available in the future. See 404 Not Found.

Response class for Unsupported Media Type responses (status code 415).

The request entity has a media type which the server or resource does not support. See 415 Unsupported Media Type.

Response class for Unprocessable Entity responses (status code 422).

The request was well-formed but had semantic errors. See 422 Unprocessable Entity.

Response class for Unavailable For Legal Reasons responses (status code 451).

A server operator has received a legal demand to deny access to a resource or to a set of resources that includes the requested resource. See 451 Unavailable For Legal Reasons.

Response class for Service Unavailable responses (status code 503).

The server cannot handle the request (because it is overloaded or down for maintenance). See 503 Service Unavailable.

No documentation available
No documentation available
No documentation available

Raised by the DependencyInstaller when a specific gem cannot be found

No documentation available

Raised by Resolver when a dependency requests a gem for which there is no spec.

Run an instance of the gem program.

Gem::GemRunner is only intended for internal use by RubyGems itself. It does not form any public API and may change at any time for any reason.

If you would like to duplicate functionality of ‘gem` commands, use the classes they call directly.

No documentation available

This class is useful for exploring contents before and after a block

It searches above and below the passed in block to match for whatever criteria you give it:

Example:

def dog         # 1
  puts "bark"   # 2
  puts "bark"   # 3
end             # 4

scan = AroundBlockScan.new(
  code_lines: code_lines
  block: CodeBlock.new(lines: code_lines[1])
)

scan.scan_while { true }

puts scan.before_index # => 0
puts scan.after_index  # => 3

Contents can also be filtered using AroundBlockScan#skip

To grab the next surrounding indentation use AroundBlockScan#scan_adjacent_indent

Mini String IO [Private]

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

No documentation available

Raised by Encoding and String methods when a transcoding operation fails.

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.

Search took: 1ms  ·  Total Results: 414