class Crirc::Protocol::Message
- Crirc::Protocol::Message
- Reference
- Object
Defined in:
crirc/protocol/message.crConstant Summary
-
R_ARG =
"(?: (?<arg>#{R_ARG_ONE}(?: #{R_ARG_ONE})*))"
-
R_ARG_ONE =
"(?:[^: ][^ ]*)"
-
R_CMD =
"(?<cmd>[A-Z]+|\\d{3})"
-
R_MSG =
"(?: \\:(?<msg>.+)?)"
-
R_SRC =
"(\\:(?<src>[^[:space:]]+) )"
Constructors
Instance Method Summary
- #argument_list : Array(String)
- #arguments : String | Nil
- #command : String
- #message : String | Nil
- #raw : String
-
#raw_arguments : String
Concatenation of
#arguments
and#message
. - #source : String
Constructor Detail
Instance Method Detail
def raw_arguments : String
#
Concatenation of #arguments
and #message
. If the message exists, it is preceded by ':'