Class: Canopus::Project::Watcher::Event
- Inherits:
-
Struct
- Object
- Struct
- Canopus::Project::Watcher::Event
- Defined in:
- lib/canopus/project/watcher.rb,
sig/services.rbs
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path
4 5 6 |
# File 'lib/canopus/project/watcher.rb', line 4 def path @path end |
#type ⇒ Object
Returns the value of attribute type
4 5 6 |
# File 'lib/canopus/project/watcher.rb', line 4 def type @type end |
Class Method Details
.new ⇒ instance
20 |
# File 'sig/services.rbs', line 20
def self.new: (type: :created | :modified | :deleted, path: String) -> instance
|