class Circed::Domain::User

Overview

Domain model for IRC users

Defined in:

circed/domain/entities.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(nickname : String, username : String, hostname : String, realname : String, servername : String, hopcount : Int32 = 0) #

[View source]

Instance Method Detail

def away? : Bool #

[View source]
def away_message : String | Nil #

[View source]
def away_message=(away_message : String | Nil) #

[View source]
def hopcount : Int32 #

[View source]
def hopcount=(hopcount : Int32) #

[View source]
def hostmask : String #

[View source]
def hostname : String #

[View source]
def hostname=(hostname : String) #

[View source]
def local? : Bool #

[View source]
def modes : Set(Char) #

[View source]
def modes=(modes : Set(Char)) #

[View source]
def nickname : String #

[View source]
def nickname=(nickname : String) #

[View source]
def ping_time : Time | Nil #

[View source]
def ping_time=(ping_time : Time | Nil) #

[View source]
def realname : String #

[View source]
def realname=(realname : String) #

[View source]
def server : String #

[View source]
def servername : String #

[View source]
def servername=(servername : String) #

[View source]
def username : String #

[View source]
def username=(username : String) #

[View source]