Class: Zt::Exporters::BaseExporter

Inherits:
Object
  • Object
show all
Defined in:
lib/zt/exporters/_base_exporter.rb

Direct Known Subclasses

HostsFileExporter

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBaseExporter

Returns a new instance of BaseExporter.



7
8
9
# File 'lib/zt/exporters/_base_exporter.rb', line 7

def initialize
  super
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



6
7
8
# File 'lib/zt/exporters/_base_exporter.rb', line 6

def data
  @data
end

Instance Method Details

#exportObject



11
12
13
# File 'lib/zt/exporters/_base_exporter.rb', line 11

def export
  abort('export called on non-functional superclass exporter')
end