Class: TARS::Server
- Inherits:
-
Object
- Object
- TARS::Server
- Defined in:
- lib/tars/bot.rb
Class Attribute Summary collapse
-
.server ⇒ Object
readonly
Returns the value of attribute server.
Instance Method Summary collapse
-
#initialize ⇒ Server
constructor
A new instance of Server.
- #run! ⇒ Object
Constructor Details
Class Attribute Details
.server ⇒ Object (readonly)
Returns the value of attribute server.
19 20 21 |
# File 'lib/tars/bot.rb', line 19 def server @server end |
Instance Method Details
#run! ⇒ Object
27 28 29 |
# File 'lib/tars/bot.rb', line 27 def run! @server.start end |