Results for: "OptionParser"

No documentation available
No documentation available

Attempts to re-sign an expired cert with a given private key

Example:

x.foo(42)
      ^^
x[42]
  ^^
x += 1
     ^

Example:

x.foo = 1
        ^
x[42] = 1
  ^^^^^^^
x[] = 1
  ^^^^^

Example:

x + 1
  ^
+x
^

Example:

foo(42)
    ^^
foo 42
    ^^

Example:

Foo
^^^
No documentation available
No documentation available

The offset from the start of the file in code units of the given encoding.

The column number in code units of the given encoding where this location starts from the start of the line.

in ConstantReadNode in String

Add a list of extra arguments for the given command. args may be an array or a string to be split on white space.

Accessor for the specific extra args hash (self initializing).

Get a single gem name from the command line. Fail if there is no gem name or if there is more than one gem name given.

Invoke the command with the given list of normal arguments and additional build arguments.

No documentation available

Remove everything in the DependencyList that matches but doesn’t satisfy items in dependencies (a hash of gem names to arrays of dependencies).

No documentation available

Scanning is intentionally conservative because we have no way of rolling back an aggressive block (at this time)

If a block was stopped for some trivial reason, (like an empty line) but the next line would have caused it to be balanced then we can check that condition and grab just one more line either up or down.

For example, below if we’re scanning up, line 2 might cause the scanning to stop. This is because empty lines might denote logical breaks where the user intended to chunk code which is a good place to stop and check validity. Unfortunately it also means we might have a “dangling” keyword or end.

1 def bark
2
3 end

If lines 2 and 3 are in the block, then when this method is run it would see it is unbalanced, but that acquiring line 1 would make it balanced, so that’s what it does.

Corrects path (usually returned by ‘Gem::URI.parse().path` on Windows), that comes with a leading slash.

No documentation available

^^

foo(bar)

^^^
Search took: 6ms  ·  Total Results: 3731