lib/exporter/exporter.rb in exporter-0.0.2 vs lib/exporter/exporter.rb in exporter-0.0.3

- old
+ new

@@ -1,14 +1,14 @@ module Exporter class Exporter - def export(data, options) + def self.export(data, options) document = process(data, options) raise TypeError.new('process method must return an Document object') unless document.kind_of? Document document end protected - def process(data, options) + def self.process(data, options) raise NotImplementedError.new("You must implement this process method.") end end end \ No newline at end of file