class Exporter::Document

Attributes

data[R]

Public Class Methods

new(data) click to toggle source
# File lib/exporter/document.rb, line 5
def initialize(data)
  @data = data
end

Public Instance Methods

to_file(path) click to toggle source
# File lib/exporter/document.rb, line 9
def to_file(path)
  raise 'must override this method in subclass'
end