Results for: "Pathname"

Represents an xstring literal that contains interpolation.

`foo #{bar} baz`
^^^^^^^^^^^^^^^^

Represents a hash literal without opening and closing braces.

foo(a: b)
    ^^^^

Represents using a lambda literal (not the lambda method call).

->(value) { value * 2 }
^^^^^^^^^^^^^^^^^^^^^^^

Represents a regular expression literal used in the predicate of a conditional to implicitly match against the last line read by an IO object.

if /foo/i then end
   ^^^^^^

Represents the use of the ‘=>` operator.

foo => bar
^^^^^^^^^^

Represents writing local variables using a regular expression match with named capture groups.

/(?<foo>bar)/ =~ baz
^^^^^^^^^^^^^^^^^^^^

The top level node of any parse tree.

Represents the use of the splat operator.

[*a]
 ^^

This represents a location in the source.

This represents a comment that was encountered during parsing. It is the base class for all comment types.

InlineComment objects are the most common. They correspond to comments in the source file like this one that start with #.

EmbDocComment objects correspond to comments that are surrounded by =begin and =end.

This represents a magic comment that was encountered during parsing.

This represents an error that was encountered during parsing.

This represents a warning that was encountered during parsing.

This is a result specific to the ‘parse` and `parse_file` methods.

This is a result specific to the ‘parse_lex` and `parse_lex_file` methods.

Indicates a timeout resolving a name or address.

BasicSpecification is an abstract class which implements some common code used by both Specification and StubSpecification.

The command manager registers and installs all the individual sub-commands supported by the gem command.

Extra commands can be provided by writing a rubygems_plugin.rb file in an installed gem. You should register your command against the Gem::CommandManager instance, like this:

# file rubygems_plugin.rb
require 'rubygems/command_manager'

Gem::CommandManager.instance.register_command :edit

You should put the implementation of your command in rubygems/commands.

# file rubygems/commands/edit_command.rb
class Gem::Commands::EditCommand < Gem::Command
  # ...
end

See Gem::Command for instructions on writing gem commands.

Raised when attempting to uninstall a gem that isn’t in GEM_HOME.

No documentation available

Potentially raised when a specification is validated.

Used to raise parsing and loading errors

Potentially raised when a specification is validated.

Search took: 5ms  ·  Total Results: 3460