Class: Jimson::Server::System

Inherits:
Object
  • Object
show all
Extended by:
Handler
Defined in:
lib/jimson/server.rb

Instance Method Summary collapse

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

#isAliveObject



23
24
25
# File 'lib/jimson/server.rb', line 23

def isAlive 
  true
end

#listMethodsObject



19
20
21
# File 'lib/jimson/server.rb', line 19

def listMethods
  @router.jimson_methods
end