Module: KnocKnoc
- Defined in:
- lib/knoc-knoc.rb,
lib/knoc-knoc/host.rb,
lib/knoc-knoc/version.rb,
lib/knoc-knoc/watchman.rb,
lib/knoc-knoc/watchman_live.rb,
lib/knoc-knoc/watchman_monitor.rb
Defined Under Namespace
Classes: Host, Watchman, WatchmanLive, WatchmanMonitor
Constant Summary
collapse
- VERSION =
"0.0.1"
Class Method Summary
collapse
Class Method Details
.mode ⇒ Object
14
15
16
|
# File 'lib/knoc-knoc.rb', line 14
def mode
@watchman.class
end
|
.mode=(value) ⇒ Object
18
19
20
21
22
23
|
# File 'lib/knoc-knoc.rb', line 18
def mode= value
if value.class == Class
@watchman.cleanup
@watchman = value.new
end
end
|
.whos_left ⇒ Object
37
38
39
|
# File 'lib/knoc-knoc.rb', line 37
def whos_left
@watchman.whos_left
end
|
.whos_new ⇒ Object
33
34
35
|
# File 'lib/knoc-knoc.rb', line 33
def whos_new
@watchman.whos_new
end
|
.whos_there ⇒ Object
29
30
31
|
# File 'lib/knoc-knoc.rb', line 29
def whos_there
@watchman.whos_there
end
|