method

spec_for

spec_for(name)
public

No documentation available.

# File lib/rubygems/commands/open_command.rb, line 74
  def spec_for name
    spec = Gem::Specification.find_all_by_name(name, @version).first

    return spec if spec

    say "Unable to find gem '#{name}'"
  end