Class: Csv::Dialect
- Inherits:
-
Object
- Object
- Csv::Dialect
- Defined in:
- lib/csvreader/reader.rb
Overview
todo: use a module - it’s just a namespace/module now - why? why not?
Class Method Summary collapse
-
.registry ⇒ Object
e.g.
Class Method Details
.registry ⇒ Object
e.g. use Dialect.registry = { … } etc.
note use @@ - there is only one registry
21 |
# File 'lib/csvreader/reader.rb', line 21 def self.registry() @@registry ||={} end |