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