Class: Jimson::Server::System
- Inherits:
-
Object
- Object
- Jimson::Server::System
- Extended by:
- Handler
- Defined in:
- lib/jimson/server.rb
Instance Method Summary collapse
-
#initialize(router) ⇒ System
constructor
A new instance of System.
- #isAlive ⇒ Object
- #listMethods ⇒ Object
Methods included from Handler
jimson_default_methods, jimson_exclude, jimson_expose, jimson_exposed_methods
Constructor Details
#initialize(router) ⇒ System
Returns a new instance of System.
15 16 17 |
# File 'lib/jimson/server.rb', line 15 def initialize(router) @router = router end |
Instance Method Details
#isAlive ⇒ Object
23 24 25 |
# File 'lib/jimson/server.rb', line 23 def isAlive true end |
#listMethods ⇒ Object
19 20 21 |
# File 'lib/jimson/server.rb', line 19 def listMethods @router.jimson_methods end |