Class: Ruboty::Handlers::Magi
- Inherits:
-
Base
- Object
- Base
- Ruboty::Handlers::Magi
- Defined in:
- lib/ruboty/handlers/magi.rb
Instance Method Summary collapse
Instance Method Details
#answer(message) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/ruboty/handlers/magi.rb', line 10 def answer() option = parse_option() simple_mode = option.include?(:s) = judge(answer_pattern(option), simple_mode) .reply() end |