Class: PropertyList::Uuid
- Inherits:
-
Object
- Object
- PropertyList::Uuid
- Defined in:
- lib/property-list.rb
Overview
call-seq:
PropertyList::Uuid.new 'F' * 32
Instance Attribute Summary collapse
-
#uuid ⇒ Object
readonly
Returns the value of attribute uuid.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(uuid) ⇒ Uuid
constructor
A new instance of Uuid.
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
#uuid ⇒ Object (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 |