Flowdock
method

to_spec

Importance_0
v1_9_3_392 - Show latest stable - 0 notes - Class: Dependency
to_spec() public

No documentation

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

Hide source
# File lib/rubygems/dependency.rb, line 255
  def to_spec
    matches = self.to_specs

    matches.find { |spec| spec.activated? } or matches.last
  end
Register or log in to add new notes.