Sha256: 00fdd54a66500c19368d07d95818328a16d5fce860f9e469414a779130340c95
Contents?: true
Size: 358 Bytes
Versions: 2
Compression:
Stored size: 358 Bytes
Contents
module Bioshogi extend ActiveSupport::Concern concern :ApplicationMemoryRecord do included do unless self < MemoryRecord include MemoryRecord end def self.fetch(...) super rescue KeyError => error raise KeyNotFound, error.message end end def inspect "<#{key}>" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bioshogi-0.0.15 | lib/bioshogi/application_memory_record.rb |
bioshogi-0.0.14 | lib/bioshogi/application_memory_record.rb |