method

register_default_spec

Importance_1
v2_5_5 - Show latest stable - 0 notes - Class: Gem
register_default_spec(spec) public

Register a Gem::Specification for default gem.

Two formats for the specification are supported:

  • MRI 2.0 style, where spec.files contains unprefixed require names. The spec’s filenames will be registered as-is.

  • New style, where spec.files contains files prefixed with paths from spec.require_paths. The prefixes are stripped before registering the spec’s filenames. Unprefixed files are omitted.

Show source
Register or log in to add new notes.