Flowdock
method

spec_for

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: OpenCommand
spec_for(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/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
Register or log in to add new notes.