class Ez::Registry::Store

Attributes

records[R]

Public Class Methods

new(*records) click to toggle source
# File lib/ez/registry/store.rb, line 10
def initialize(*records)
  @records = *records
end

Public Instance Methods

add(data) click to toggle source
# File lib/ez/registry/store.rb, line 14
def add(data)
  records << Record.new(data, self)
end
data() click to toggle source
# File lib/ez/registry/store.rb, line 18
def data
  map(&:data)
end