Module: Merb::Global::MessageProviders::Base::Importer

Included in:
ActiveRecord, DataMapper, Gettext, Sequel, Yaml
Defined in:
lib/merb_global/message_providers.rb

Overview

Importer is a provider through which one can iterate. Therefore it is possible to import data from this source

Instance Method Summary collapse

Instance Method Details

#importObject

This method import the data into a specified format from source. The format is nearly dump of the current YAML format.

Returns

data<~each>

Data in the specified format.

Raises

NoMethodError

Raised by default implementation. Should not be thrown.

Raises:

  • (NoMethodError)


94
95
96
# File 'lib/merb_global/message_providers.rb', line 94

def import # TODO: Describe the format
  raise NoMethodError.new('method import has not been implemented')
end