Class: Pepito::Handler::ChatRouter::ChatRoute

Inherits:
Struct
  • Object
show all
Defined in:
lib/pepito/handler/chat_router.rb

Overview

A struct representing the route.

Instance Attribute Summary collapse

Instance Attribute Details

#commandObject

Returns the value of attribute command

Returns:

  • (Object)

    the current value of command



6
7
8
# File 'lib/pepito/handler/chat_router.rb', line 6

def command
  @command
end

#funcObject

Returns the value of attribute func

Returns:

  • (Object)

    the current value of func



6
7
8
# File 'lib/pepito/handler/chat_router.rb', line 6

def func
  @func
end

#helpObject

Returns the value of attribute help

Returns:

  • (Object)

    the current value of help



6
7
8
# File 'lib/pepito/handler/chat_router.rb', line 6

def help
  @help
end

#patternObject

Returns the value of attribute pattern

Returns:

  • (Object)

    the current value of pattern



6
7
8
# File 'lib/pepito/handler/chat_router.rb', line 6

def pattern
  @pattern
end