Sha256: 374df97a00214aefa406815a463f95413396278cca39b9c4fb5e54601c20bd6b
Contents?: true
Size: 315 Bytes
Versions: 2
Compression:
Stored size: 315 Bytes
Contents
require 'ez/registry/record' module Ez class Registry class Store < Array attr_reader :records def initialize(*records) @records = *records end def add(data) records << Record.new(data, self) end def data map(&:data) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ez-core-0.1.1 | lib/ez/registry/store.rb |
ez-core-0.1.0 | lib/ez/registry/store.rb |