method

spec_path

Importance_0
v1_9_3_125 - Show latest stable - 0 notes - Class: LockCommand
spec_path(gem_full_name) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/commands/lock_command.rb, line 101
  def spec_path(gem_full_name)
    gemspecs = Gem.path.map { |path|
      File.join path, "specifications", "#{gem_full_name}.gemspec"
    }

    gemspecs.find { |path| File.exist? path }
  end
Register or log in to add new notes.