Class: FseventsToVm::Event
- Inherits:
-
Struct
- Object
- Struct
- FseventsToVm::Event
- Defined in:
- lib/fsevents_to_vm/event.rb
Overview
path: String mtime: String event_time: Time
Instance Attribute Summary collapse
-
#event_time ⇒ Object
Returns the value of attribute event_time.
-
#mtime ⇒ Object
Returns the value of attribute mtime.
-
#path ⇒ Object
Returns the value of attribute path.
Class Method Summary collapse
Instance Attribute Details
#event_time ⇒ Object
Returns the value of attribute event_time
5 6 7 |
# File 'lib/fsevents_to_vm/event.rb', line 5 def event_time @event_time end |
#mtime ⇒ Object
Returns the value of attribute mtime
5 6 7 |
# File 'lib/fsevents_to_vm/event.rb', line 5 def mtime @mtime end |
#path ⇒ Object
Returns the value of attribute path
5 6 7 |
# File 'lib/fsevents_to_vm/event.rb', line 5 def path @path end |
Class Method Details
.format_time(time) ⇒ Object
6 7 8 |
# File 'lib/fsevents_to_vm/event.rb', line 6 def self.format_time(time) time.utc.strftime("%Y%m%d%H%M.%S") end |