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
903 904 905 |
# File 'lib/tree_haver/contracts.rb', line 903 def category @category end |
#normalized_path ⇒ Object
Returns the value of attribute normalized_path
903 904 905 |
# File 'lib/tree_haver/contracts.rb', line 903 def normalized_path @normalized_path end |
#path ⇒ Object
Returns the value of attribute path
903 904 905 |
# File 'lib/tree_haver/contracts.rb', line 903 def path @path end |
#reason ⇒ Object
Returns the value of attribute reason
903 904 905 |
# File 'lib/tree_haver/contracts.rb', line 903 def reason @reason end |
Instance Method Details
#to_h ⇒ Object
904 905 906 907 908 909 910 911 |
# File 'lib/tree_haver/contracts.rb', line 904 def to_h { path: path, normalized_path: normalized_path, category: category, reason: reason } end |