Class: Pepito::Handler::ChatRouter::ChatRoute
- Inherits:
-
Struct
- Object
- Struct
- Pepito::Handler::ChatRouter::ChatRoute
- Defined in:
- lib/pepito/handler/chat_router.rb
Overview
A struct representing the route.
Instance Attribute Summary collapse
-
#command ⇒ Object
Returns the value of attribute command.
-
#func ⇒ Object
Returns the value of attribute func.
-
#help ⇒ Object
Returns the value of attribute help.
-
#pattern ⇒ Object
Returns the value of attribute pattern.
Instance Attribute Details
#command ⇒ Object
Returns the value of attribute command
6 7 8 |
# File 'lib/pepito/handler/chat_router.rb', line 6 def command @command end |
#func ⇒ Object
Returns the value of attribute func
6 7 8 |
# File 'lib/pepito/handler/chat_router.rb', line 6 def func @func end |
#help ⇒ Object
Returns the value of attribute help
6 7 8 |
# File 'lib/pepito/handler/chat_router.rb', line 6 def help @help end |
#pattern ⇒ Object
Returns the value of attribute pattern
6 7 8 |
# File 'lib/pepito/handler/chat_router.rb', line 6 def pattern @pattern end |