Class: Blackbook::Exporter::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/blackbook/exporter/base.rb

Direct Known Subclasses

Vcf, Xml

Instance Method Summary collapse

Instance Method Details

#export(contacts) ⇒ Object

Override this to convert contacts (an array of hashes) to something more useful. Here, it just returns Blackbook’s internal format



10
11
12
# File 'lib/blackbook/exporter/base.rb', line 10

def export( contacts )
  contacts
end