Class: Csv::Dialect

Inherits:
Object
  • Object
show all
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

Class Method Details

.registryObject

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