Class: MoonBot::Client
- Inherits:
-
EventMachine::Connection
- Object
- EventMachine::Connection
- MoonBot::Client
- Defined in:
- lib/MoonBot/client.rb
Instance Method Summary collapse
- #derp(x) ⇒ Object
-
#initialize(on_message) ⇒ Client
constructor
A new instance of Client.
- #receive_data(data) ⇒ Object
Constructor Details
#initialize(on_message) ⇒ Client
Returns a new instance of Client.
4 5 6 |
# File 'lib/MoonBot/client.rb', line 4 def initialize @on_message = end |
Instance Method Details
#derp(x) ⇒ Object
16 17 18 |
# File 'lib/MoonBot/client.rb', line 16 def derp x puts "herp" end |