{}
34 35 36
# File 'lib/store.rb', line 34 def Line.[](line_id) ::Store::read(@@lines, line_id) end
42 43 44
# File 'lib/store.rb', line 42 def Line.cache() ::Store::cache("lines", @@lines, Cache.read("lines", {})) end
38 39 40
# File 'lib/store.rb', line 38 def Line.index(line) ::Store::write(@@lines, line[:line_id], line) end