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