Class: UV::FSEvent
Constant Summary collapse
- EVENTS =
{1 => :rename, 2 => :change}.freeze
Instance Method Summary collapse
-
#initialize(loop, fs_event_ptr, &block) ⇒ FSEvent
constructor
A new instance of FSEvent.
Methods included from Handle
#active?, close, #close, #closing?, #ref, #unref
Methods included from Assertions
#assert_arity, #assert_block, #assert_boolean, #assert_signal, #assert_type
Methods included from Resource
#check_result, #check_result!, #to_ptr
Methods included from Listener
define_callback, undefine_callbacks
Constructor Details
#initialize(loop, fs_event_ptr, &block) ⇒ FSEvent
Returns a new instance of FSEvent.
7 8 9 10 11 |
# File 'lib/uv/fs_event.rb', line 7 def initialize(loop, fs_event_ptr, &block) @fs_event_block = block super(loop, fs_event_ptr) end |