Spec-Zone.ru › Ruby 2.6

класс Bundler::LazySpecification::Identifier

Родитель:
Объект
Включенные модули:
Comparable

Публичные методы экземпляра

<=>(other) Показать исходный код
# File lib/bundler/lazy_specification.rb, line 11
def <=>(other)
  return unless other.is_a?(Identifier)
  [name, version, platform_string] <=> [other.name, other.version, other.platform_string]
end

Защищённые методы экземпляра

platform_string() Показать исходный код
# File lib/bundler/lazy_specification.rb, line 18
def platform_string
  platform_string = platform.to_s
  platform_string == Index::RUBY ? Index::NULL : platform_string
end

Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API