class Bundler::RemoteSpecification
def sort_obj
-
(Array)
- an object you can use to compare and sort this
Other tags:
- See: Gem::Specification#sort_obj -
See: #<=> -
def sort_obj [@name, @version, @platform == Gem::Platform::RUBY ? -1 : 1] end