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.



87
88
89
# File 'lib/property-list.rb', line 87

def initialize uuid
  @uuid = uuid
end

Instance Attribute Details

#uuidObject (readonly)

Returns the value of attribute uuid.



91
92
93
# File 'lib/property-list.rb', line 91

def uuid
  @uuid
end

Instance Method Details

#==(other) ⇒ Object



93
94
95
# File 'lib/property-list.rb', line 93

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