class Database

Included Modules

Defined in:

lemurtype.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new #

[View source]

Instance Method Detail

def add_letter(char, stats) #

[View source]
def add_record(word, err, time) #

[View source]
def add_typo(should_be, typed) #

[View source]
def add_visit(word) #

[View source]
def add_word(word) #

[View source]
def current_test : Int32 #

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

[View source]
def filters : Hash(String, Int32) #

[View source]
def filters=(filters : Hash(String, Int32)) #

[View source]
def history : Hash(Int64, Float64) #

[View source]
def history=(history : Hash(Int64, Float64)) #

[View source]
def layout : Array(Array(String)) #

[View source]
def layout=(layout : Array(Array(String))) #

[View source]
def letters : Hash(String, Hash(String, Int32 | Float64)) #

[View source]
def letters=(letters : Hash(String, Hash(String, Int32 | Float64))) #

[View source]
def level : Int32 #

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

[View source]
def random #

[View source]
def show_layout : Bool #

[View source]
def show_layout=(show_layout : Bool) #

[View source]
def typos : Hash(String, Hash(String, Int32)) #

[View source]
def typos=(typos : Hash(String, Hash(String, Int32))) #

[View source]
def update_difficulty(word) #

[View source]
def words : Hash(String, Hash(String, Float64 | Int32 | Array(Record))) #

[View source]
def words=(words : Hash(String, Hash(String, Float64 | Int32 | Array(Record)))) #

[View source]