Class: Watchcat::Server
- Inherits:
-
Object
- Object
- Watchcat::Server
- Defined in:
- lib/watchcat/server.rb
Instance Method Summary collapse
- #execute(notification) ⇒ Object
-
#initialize(block) ⇒ Server
constructor
A new instance of Server.
Constructor Details
#initialize(block) ⇒ Server
Returns a new instance of Server.
5 6 7 |
# File 'lib/watchcat/server.rb', line 5 def initialize(block) @block = block end |