Class: AppMap::Hook::Package
- Inherits:
-
Struct
- Object
- Struct
- AppMap::Hook::Package
- Defined in:
- lib/appmap/hook.rb
Instance Attribute Summary collapse
-
#exclude ⇒ Object
Returns the value of attribute exclude.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
Instance Attribute Details
#exclude ⇒ Object
Returns the value of attribute exclude
9 10 11 |
# File 'lib/appmap/hook.rb', line 9 def exclude @exclude end |
#path ⇒ Object
Returns the value of attribute path
9 10 11 |
# File 'lib/appmap/hook.rb', line 9 def path @path end |
Instance Method Details
#to_h ⇒ Object
10 11 12 13 14 15 |
# File 'lib/appmap/hook.rb', line 10 def to_h { path: path, exclude: exclude.blank? ? nil : exclude }.compact end |