Sha256: 36357808cd5af5d8c5d7bd88063331733fad1c4b5946c3fef584a99ba8ebeeb4

Contents?: true

Size: 186 Bytes

Versions: 5

Compression:

Stored size: 186 Bytes

Contents

class Registry
    def initialize
    @definitions = Hash.new
  end

  def [] name
    @definitions[name]
  end

  def []= name, definition
    @definitions[name] = definition
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
csv2hash-0.6.4 lib/csv2hash/registry.rb
csv2hash-0.6.3 lib/csv2hash/registry.rb
csv2hash-0.6.2 lib/csv2hash/registry.rb
csv2hash-0.6.1 lib/csv2hash/registry.rb
csv2hash-0.6.0 lib/csv2hash/registry.rb