APIdock / Ruby
/
Browse About
method

to_spec

v2_4_6 - Show latest stable - Class: Gem::BasicSpecification
to_spec()
public

Return a Gem::Specification from this gem

# File lib/rubygems/basic_specification.rb, line 290
  def to_spec
    raise NotImplementedError
  end

Related methods

  • Instance methods
  • activated?
  • base_dir
  • contains_requirable_file?
  • datadir
  • default_gem?
  • extension_dir
  • extensions_dir
  • full_gem_path
  • full_name
  • full_require_paths
  • gem_build_complete_path
  • gem_dir
  • gems_dir
  • internal_init
  • lib_dirs_glob
  • matches_for_glob
  • name
  • platform
  • raw_require_paths
  • require_paths
  • source_paths
  • stubbed?
  • this
  • to_fullpath
  • to_spec
  • version
  • Class methods
  • default_specifications_dir
  • new
  • Private methods
  • privatefind_full_gem_path
  • privatehave_extensions?
  • privatehave_file?
APIdock API Documentation Browser

© 2026 APIdock