Class: TeBot::Message::Command
- Inherits:
-
Object
- Object
- TeBot::Message::Command
- Defined in:
- lib/te_bot/message.rb
Instance Method Summary collapse
-
#initialize(message) ⇒ Command
constructor
A new instance of Command.
- #parse ⇒ Object
Constructor Details
#initialize(message) ⇒ Command
Returns a new instance of Command.
86 87 88 |
# File 'lib/te_bot/message.rb', line 86 def initialize() @text = .dig("text") end |
Instance Method Details
#parse ⇒ Object
90 91 92 |
# File 'lib/te_bot/message.rb', line 90 def parse command end |