Class: Google::Compute::Data::InstaSelfLinkRef
- Inherits:
-
Object
- Object
- Google::Compute::Data::InstaSelfLinkRef
show all
- Includes:
- Comparable
- Defined in:
- lib/google/compute/property/instance_selflink.rb
Overview
Base class for ResourceRefs Imports self_link from instance
Instance Method Summary
collapse
Instance Method Details
#<=>(other) ⇒ Object
46
47
48
|
# File 'lib/google/compute/property/instance_selflink.rb', line 46
def <=>(other)
resource <=> other.resource
end
|
#==(other) ⇒ Object
40
41
42
43
44
|
# File 'lib/google/compute/property/instance_selflink.rb', line 40
def ==(other)
return false unless other.is_a? InstaSelfLinkRef
return false if resource != other.resource
true
end
|