Results for: "gsub"

Returns a BubbleBabble encoded version of a given string.

Returns whether input encoding is UTF-8 or not.

Returns whether input encoding is UTF-8 or not.

Returns the time used to execute the given block as a Benchmark::Tms object. Takes label option.

require 'benchmark'

n = 1000000

time = Benchmark.measure do
  n.times { a = "1" }
end
puts time

Generates:

0.220000   0.000000   0.220000 (  0.227313)

Returns the time used to execute the given block as a Benchmark::Tms object. Takes label option.

require 'benchmark'

n = 1000000

time = Benchmark.measure do
  n.times { a = "1" }
end
puts time

Generates:

0.220000   0.000000   0.220000 (  0.227313)

The path to the running Ruby interpreter.

Suffixes for require-able paths.

No documentation available
No documentation available

Returns the BubbleBabble encoded hash value of a given string.

Returns the flags of ifaddr.

Produces the summary text. Each line of the summary is yielded to the block (without newline).

sdone

Already summarized short style options keyed hash.

ldone

Already summarized long style options keyed hash.

width

Width of left side (option part). In other words, the right side (description part) starts after width columns.

max

Maximum width of left side -> the options are filled within max columns.

indent

Prefix string indents all summarized lines.

Creates the summary table, passing each line to the block (without newline). The arguments args are passed along to the summarize method which is called on every option.

Returns true if there were no errors during parsing and false if there were.

Lazily initialize the parse result.

No documentation available

Whether this specification is stubbed - i.e. we have information about the gem from a stub line, without having to evaluate the entire gemspec file.

Returns a Gem::StubSpecification for every installed gem

A short summary of this gem’s description.

No documentation available
No documentation available

Returns:

Returns the resulting hash value in a Bubblebabble encoded form.

Returns a profile data report such as:

GC 1 invokes.
Index    Invoke Time(sec)       Use Size(byte)     Total Size(byte)         Total Object                    GC time(ms)
    1               0.012               159240               212940                10647         0.00000000000001530000

Create a new EnsureNode node

Search took: 1ms  ·  Total Results: 323