method

spec_for

spec_for(name)
public

No documentation available.

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

    return spec if spec

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