Class: TreeHaver::ZipUnsafeEntry
- Inherits:
-
Struct
- Object
- Struct
- TreeHaver::ZipUnsafeEntry
- Defined in:
- lib/tree_haver/contracts.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#normalized_path ⇒ Object
Returns the value of attribute normalized_path.
-
#path ⇒ Object
Returns the value of attribute path.
-
#reason ⇒ Object
Returns the value of attribute reason.
Instance Method Summary collapse
Instance Attribute Details
#category ⇒ Object
Returns the value of attribute category
296 297 298 |
# File 'lib/tree_haver/contracts.rb', line 296 def category @category end |
#normalized_path ⇒ Object
Returns the value of attribute normalized_path
296 297 298 |
# File 'lib/tree_haver/contracts.rb', line 296 def normalized_path @normalized_path end |
#path ⇒ Object
Returns the value of attribute path
296 297 298 |
# File 'lib/tree_haver/contracts.rb', line 296 def path @path end |
#reason ⇒ Object
Returns the value of attribute reason
296 297 298 |
# File 'lib/tree_haver/contracts.rb', line 296 def reason @reason end |
Instance Method Details
#to_h ⇒ Object
297 298 299 300 301 302 303 304 |
# File 'lib/tree_haver/contracts.rb', line 297 def to_h { path: path, normalized_path: normalized_path, category: category, reason: reason } end |