Class: Passdb::Entry
- Inherits:
-
Object
- Object
- Passdb::Entry
- Defined in:
- lib/passdb/entry.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#name ⇒ Object
Returns the value of attribute name.
-
#vendor ⇒ Object
Returns the value of attribute vendor.
Instance Method Summary collapse
-
#initialize ⇒ Entry
constructor
A new instance of Entry.
Constructor Details
#initialize ⇒ Entry
Returns a new instance of Entry.
5 6 7 |
# File 'lib/passdb/entry.rb', line 5 def initialize() self.attributes = {} end |
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
4 5 6 |
# File 'lib/passdb/entry.rb', line 4 def attributes @attributes end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/passdb/entry.rb', line 4 def name @name end |
#vendor ⇒ Object
Returns the value of attribute vendor.
4 5 6 |
# File 'lib/passdb/entry.rb', line 4 def vendor @vendor end |