class Csv2hash::Registry

Public Class Methods

new() click to toggle source
# File lib/csv2hash/registry.rb, line 3
  def initialize
  @definitions = Hash.new
end

Public Instance Methods

[](name) click to toggle source
# File lib/csv2hash/registry.rb, line 7
def [] name
  @definitions[name]
end
[]=(name, definition) click to toggle source
# File lib/csv2hash/registry.rb, line 11
def []= name, definition
  @definitions[name] = definition
end