lib/csv2hash/registry.rb in csv2hash-0.6.4 vs lib/csv2hash/registry.rb in csv2hash-0.6.5
- old
+ new
@@ -1,13 +1,15 @@
-class Registry
- def initialize
- @definitions = Hash.new
- end
+module Csv2hash
+ class Registry
+ def initialize
+ @definitions = Hash.new
+ end
- def [] name
- @definitions[name]
- end
+ def [] name
+ @definitions[name]
+ end
- def []= name, definition
- @definitions[name] = definition
+ def []= name, definition
+ @definitions[name] = definition
+ end
end
end