class

Gem::StubSpecification

ruby latest stable - Superclass: Gem::BasicSpecification

frozen_string_literal: true

Gem::StubSpecification reads the stub: line from the gemspec. This prevents us having to eval the entire gemspec in order to find out certain information.

Constants

OPEN_MODE = # :nodoc:\nif Object.const_defined? :Encoding then\n'r:UTF-8:-'\nelse\n'r'\nend

PREFIX = "# stub: "

Attributes

[R]base_dir
[R]gems_dir

Files

  • lib/rubygems/stub_specification.rb