enum

FSWatch::Event::Flag

Inherits Enum < Comparable < Value < Object

Bit flags in the fswatch spirit (Created/Removed/MovedTo/...). A single event may combine them (e.g. Created | IsDir).

Constants

Created = 1
Deleted = 2
MovedFrom = 4
MovedTo = 8
Modified = 16
Attrib = 32
IsDir = 64
SelfRemoved = 128
Overflow = 256
None = 0
All = 511

Instance methods

attrib?

Returns true if this enum value contains Attrib

Source
created?

Returns true if this enum value contains Created

Source
deleted?

Returns true if this enum value contains Deleted

Source
is_dir?

Returns true if this enum value contains IsDir

Source
modified?

Returns true if this enum value contains Modified

Source
moved_from?

Returns true if this enum value contains MovedFrom

Source
moved_to?

Returns true if this enum value contains MovedTo

Source
none?
Source
overflow?

Returns true if this enum value contains Overflow

Source
self_removed?

Returns true if this enum value contains SelfRemoved

Source