Class: PropertyList::Uuid

Inherits:
Object
  • Object
show all
Defined in:
lib/property-list.rb

Overview

call-seq:

PropertyList::Uuid.new 'F' * 32

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(uuid) ⇒ Uuid

Returns a new instance of Uuid.



97
98
99
# File 'lib/property-list.rb', line 97

def initialize uuid
  @uuid = uuid
end

Instance Attribute Details

#uuidObject (readonly)

Returns the value of attribute uuid.



101
102
103
# File 'lib/property-list.rb', line 101

def uuid
  @uuid
end

Instance Method Details

#==(other) ⇒ Object



103
104
105
# File 'lib/property-list.rb', line 103

def == other
  other.is_a?(Uuid) and @uuid == other.uuid
end