Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
dmnd-bot
v0.2.3
Top Level Namespace
Config
BotModule
Discord
Instance
Parser
Saucenao
Syncplay
Discord
Bot
DiscordPlugin
SaucenaoPlugin
Saucenao
IndexSite
Parser
Result
ResultData
ResultHeader
StringToBool
StringToFloat
StringToTime
StringToURI
Syncplay
Bot
Features
Room
TLSenabled
User
Version
Built with Crystal 1.9.2
2023-10-08 14:55:19 UTC
class
Syncplay::Version
Syncplay::Version
Reference
Object
Defined in:
syncplay/syncplay_protocol.cr
Constructors
.new
(major : UInt16, minor : UInt16, patch : UInt16)
.new
(version : String)
.new
(pull : JSON::PullParser)
Instance Method Summary
#major
: UInt16
#minor
: UInt16
#patch
: UInt16
#to_json
(json : JSON::Builder)
Constructor Detail
def self.
new
(major : UInt16, minor : UInt16, patch : UInt16)
#
[
View source
]
def self.
new
(version : String)
#
[
View source
]
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Instance Method Detail
def
major
: UInt16
#
[
View source
]
def
minor
: UInt16
#
[
View source
]
def
patch
: UInt16
#
[
View source
]
def
to_json
(json : JSON::Builder)
#
[
View source
]