Class: AppMap::Config::Path
- Inherits:
-
PathStruct
- Object
- Struct
- PathStruct
- AppMap::Config::Path
- Defined in:
- lib/appmap/config/path.rb
Overview
Path is an abstract configuration of a file, directory, or package.
Instance Attribute Summary collapse
-
#mode ⇒ Object
Returns the value of attribute mode.
Attributes inherited from PathStruct
Instance Method Summary collapse
- #<=>(other) ⇒ Object
-
#children ⇒ Object
Automatically determined configurations of child file/package paths.
-
#initialize(path) ⇒ Path
constructor
A new instance of Path.
Constructor Details
#initialize(path) ⇒ Path
Returns a new instance of Path.
9 10 11 12 13 |
# File 'lib/appmap/config/path.rb', line 9 def initialize(path) super(path) @mode = :implicit end |
Instance Attribute Details
#mode ⇒ Object
Returns the value of attribute mode.
7 8 9 |
# File 'lib/appmap/config/path.rb', line 7 def mode @mode end |
Instance Method Details
#<=>(other) ⇒ Object
15 16 17 |
# File 'lib/appmap/config/path.rb', line 15 def <=>(other) path <=> other.path end |
#children ⇒ Object
Automatically determined configurations of child file/package paths.
20 21 22 |
# File 'lib/appmap/config/path.rb', line 20 def children [] end |