struct PlatformPlays::Match

Defined in:

platform_plays/match.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(game : String, state : PlatformPlays::State) #

[View source]

Instance Method Detail

def game : String #

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

[View source]
def player_1 : String | Nil #

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

[View source]
def player_2 : String | Nil #

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

[View source]
def score : String | Nil #

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

[View source]
def state : State #

[View source]
def state=(state : State) #

[View source]
def to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]