Class: Solis::OverlayFS::Entry
- Inherits:
-
Struct
- Object
- Struct
- Solis::OverlayFS::Entry
- Defined in:
- lib/solis/overlay_fs.rb
Overview
Directory entry for enumeration
Instance Attribute Summary collapse
-
#layer ⇒ Object
Returns the value of attribute layer.
-
#name ⇒ Object
Returns the value of attribute name.
-
#path ⇒ Object
Returns the value of attribute path.
-
#relative_path ⇒ Object
Returns the value of attribute relative_path.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#layer ⇒ Object
Returns the value of attribute layer
131 132 133 |
# File 'lib/solis/overlay_fs.rb', line 131 def layer @layer end |
#name ⇒ Object
Returns the value of attribute name
131 132 133 |
# File 'lib/solis/overlay_fs.rb', line 131 def name @name end |
#path ⇒ Object
Returns the value of attribute path
131 132 133 |
# File 'lib/solis/overlay_fs.rb', line 131 def path @path end |
#relative_path ⇒ Object
Returns the value of attribute relative_path
131 132 133 |
# File 'lib/solis/overlay_fs.rb', line 131 def relative_path @relative_path end |
#type ⇒ Object
Returns the value of attribute type
131 132 133 |
# File 'lib/solis/overlay_fs.rb', line 131 def type @type end |
Instance Method Details
#directory? ⇒ Boolean
136 137 138 |
# File 'lib/solis/overlay_fs.rb', line 136 def directory? type == :directory end |
#file? ⇒ Boolean
132 133 134 |
# File 'lib/solis/overlay_fs.rb', line 132 def file? type == :file end |
#symlink? ⇒ Boolean
140 141 142 |
# File 'lib/solis/overlay_fs.rb', line 140 def symlink? type == :symlink end |