class

Aisweeper::BoardStore

Inherits Reference < Object

Constants

DEFAULT_BASE_PATH = Path["./storage/boards"]
DEFAULT_FILE_NAME = Path["data.yml"]

Constructors

new(id : String = Random.new.hex(3), storage_base_path : Path = DEFAULT_BASE_PATH)
Source

Instance methods

board_file_path
Source
delete
Source
load
Source
storage_base_path
Source