class ProtoHackers::LRState

Defined in:

7_line_reversal.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def +(session : ProtoHackers::LRSession) #

[View source]
def -(session_id : String) #

[View source]
def -(session : ProtoHackers::LRSession) #

[View source]
def <<(message : ProtoHackers::LRMessage) #

[View source]

[View source]
def [](session_id : String) : ProtoHackers::LRSession #

[View source]
def exists?(session_id : String) : Bool #

[View source]
def send_channel : Channel(ProtoHackers::LRMessage) #

[View source]
def send_channel=(send_channel : Channel(ProtoHackers::LRMessage)) #

[View source]
def sessions : Hash(String, ProtoHackers::LRSession) #

[View source]
def sessions=(sessions : Hash(String, ProtoHackers::LRSession)) #

[View source]