struct Solerian::DB::Storage

Included Modules

Defined in:

solerian/db.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(words : Array(Solerian::DB::Entry), meanings : Array(Solerian::DB::Meaning), sections : Array(Solerian::DB::Section), etag : Nil | String) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def etag : String | Nil #

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

[View source]
def find_sectionable(&pred : DB::Sectionable -> Bool) : DB::Sectionable | Nil #

[View source]
def meanings : Array(Meaning) #

[View source]
def meanings=(meanings : Array(Meaning)) #

[View source]
def sections : Array(Section) #

[View source]
def sections=(sections : Array(Section)) #

[View source]
def words : Array(Entry) #

[View source]
def words=(words : Array(Entry)) #

[View source]