Class: FSEvent::Event

Inherits:
Object
  • Object
show all
Defined in:
lib/rb-fsevent-legacy/event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#event_flagsObject

an ACTUAL filesystem event



4
5
6
# File 'lib/rb-fsevent-legacy/event.rb', line 4

def event_flags
  @event_flags
end

#event_idObject

an ACTUAL filesystem event



4
5
6
# File 'lib/rb-fsevent-legacy/event.rb', line 4

def event_id
  @event_id
end

#event_pathObject

an ACTUAL filesystem event



4
5
6
# File 'lib/rb-fsevent-legacy/event.rb', line 4

def event_path
  @event_path
end

Instance Method Details

#event_flagObject



11
12
13
14
15
# File 'lib/rb-fsevent-legacy/event.rb', line 11

def event_flag
  # honestly, since this is the legacy system i'm not sure this is
  # ever anything but zero. so lazily do nothing until i know otherwise
  # break out the event flags into the something meaningful
end

#to_sObject



6
7
8
9
# File 'lib/rb-fsevent-legacy/event.rb', line 6

def to_s 
  "#<%s:0x%x event_path='%s' event_flags='%s' event_id='%s'>" \
    % [self.class, self.object_id.abs * 2,self.event_path, self.event_flags, self.event_id]
end