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.
87 88 89 |
# File 'lib/property-list.rb', line 87 def initialize uuid @uuid = uuid end |
Instance Attribute Details
#uuid ⇒ Object (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 |