Class: Cryptosphere::Tree::Entry
- Inherits:
-
Struct
- Object
- Struct
- Cryptosphere::Tree::Entry
- Defined in:
- lib/cryptosphere/blobs/tree.rb
Overview
Individual entries in a tree
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#key ⇒ Object
Returns the value of attribute key.
-
#mode ⇒ Object
Returns the value of attribute mode.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
16 17 18 |
# File 'lib/cryptosphere/blobs/tree.rb', line 16 def id @id end |
#key ⇒ Object
Returns the value of attribute key
16 17 18 |
# File 'lib/cryptosphere/blobs/tree.rb', line 16 def key @key end |
#mode ⇒ Object
Returns the value of attribute mode
16 17 18 |
# File 'lib/cryptosphere/blobs/tree.rb', line 16 def mode @mode end |
#name ⇒ Object
Returns the value of attribute name
16 17 18 |
# File 'lib/cryptosphere/blobs/tree.rb', line 16 def name @name end |
#type ⇒ Object
Returns the value of attribute type
16 17 18 |
# File 'lib/cryptosphere/blobs/tree.rb', line 16 def type @type end |
Instance Method Details
#to_s ⇒ Object
17 18 19 |
# File 'lib/cryptosphere/blobs/tree.rb', line 17 def to_s "#{mode} #{type} #{id} #{key} #{name}" end |