Class: Fswatch::Monitor

Inherits:
Object
  • Object
show all
Defined in:
lib/fswatch/monitor.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Monitor

Returns a new instance of Monitor.

Raises:

  • (NotImplementedError)


3
4
5
6
7
# File 'lib/fswatch/monitor.rb', line 3

def initialize(options = {})
  # stub method
  # actual implementation is located in C extension - `ext/fswatch/monitor.c`
  raise NotImplementedError, "Called stub method. Looks like C Extension failed to load"
end

Instance Method Details

#startObject

Raises:

  • (NotImplementedError)


9
10
11
12
13
# File 'lib/fswatch/monitor.rb', line 9

def start
  # stub method
  # actual implementation is located in C extension - `ext/fswatch/monitor.c`
  raise NotImplementedError, "Called stub method. Looks like C Extension failed to load"
end

#stopObject

Raises:

  • (NotImplementedError)


15
16
17
18
19
# File 'lib/fswatch/monitor.rb', line 15

def stop
  # stub method
  # actual implementation is located in C extension - `ext/fswatch/monitor.c`
  raise NotImplementedError, "Called stub method. Looks like C Extension failed to load"
end