class Tourmaline::Format::UserMention

Defined in:

tourmaline/extra/format.cr

Constructors

Instance Method Summary

Instance methods inherited from class Tourmaline::Format::Token

to_html : String to_html, to_md(version : Int32) : String to_md

Constructor Detail

def self.new(token : Token | String, user_id : Int64) #

[View source]
def self.new(user) #

[View source]

Instance Method Detail

def to_html : String #

[View source]
def to_md(version : Int32 = 2) : String #

[View source]

[View source]
def token=(token : String | Tourmaline::Format::Token) #

[View source]
def user_id : Int64 #

[View source]
def user_id=(user_id : Int64) #

[View source]