Sha256: 7371a52b1a00a00b2cd01e88b5196ed2a880e710a2d8220dff037ebfbc99e648

Contents?: true

Size: 228 Bytes

Versions: 11

Compression:

Stored size: 228 Bytes

Contents

module Csv2hash
  class Registry
      def initialize
      @definitions = Hash.new
    end

    def [] name
      @definitions[name]
    end

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
csv2hash-0.7.7 lib/csv2hash/registry.rb
csv2hash-0.7.6 lib/csv2hash/registry.rb
csv2hash-0.7.5 lib/csv2hash/registry.rb
csv2hash-0.7.3 lib/csv2hash/registry.rb
csv2hash-0.7.2 lib/csv2hash/registry.rb
csv2hash-0.7.1 lib/csv2hash/registry.rb
csv2hash-0.7.0 lib/csv2hash/registry.rb
csv2hash-0.6.8 lib/csv2hash/registry.rb
csv2hash-0.6.7 lib/csv2hash/registry.rb
csv2hash-0.6.6 lib/csv2hash/registry.rb
csv2hash-0.6.5 lib/csv2hash/registry.rb