Class: Bundler::LazySpecification::Identifier
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Struct
|
|
Instance Chain:
self,
Comparable,
Struct
|
|
Inherits: |
Struct
|
Defined in: | lib/bundler/lazy_specification.rb, lib/bundler/lazy_specification.rb |
Instance Attribute Summary
- #dependencies rw
- #name rw
- #platform rw
- #source rw
- #version rw
Instance Method Summary
- #<=>(other)
- #platform_string protected
Instance Attribute Details
#dependencies (rw)
[ GitHub ]#name (rw)
[ GitHub ]# File 'lib/bundler/lazy_specification.rb', line 7
Identifier = Struct.new(:name, :version, :source, :platform, :dependencies)
#platform (rw)
[ GitHub ]# File 'lib/bundler/lazy_specification.rb', line 7
Identifier = Struct.new(:name, :version, :source, :platform, :dependencies)
#source (rw)
[ GitHub ]# File 'lib/bundler/lazy_specification.rb', line 7
Identifier = Struct.new(:name, :version, :source, :platform, :dependencies)
#version (rw)
[ GitHub ]# File 'lib/bundler/lazy_specification.rb', line 7
Identifier = Struct.new(:name, :version, :source, :platform, :dependencies)
Instance Method Details
#<=>(other)
[ GitHub ]# File 'lib/bundler/lazy_specification.rb', line 10
def <=>(other) return unless other.is_a?(Identifier) [name, version, platform_string] <=> [other.name, other.version, other.platform_string] end