Class: Ethel::Target

Inherits:
Object
  • Object
show all
Defined in:
lib/ethel/target.rb

Direct Known Subclasses

Ethel::Targets::CSV

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Target

Returns a new instance of Target.



3
4
# File 'lib/ethel/target.rb', line 3

def initialize(*args)
end

Instance Method Details

#add_field(*args) ⇒ Object

Raises:

  • (NotImplementedError)


6
7
8
# File 'lib/ethel/target.rb', line 6

def add_field(*args)
  raise NotImplementedError
end

#add_row(*args) ⇒ Object

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/ethel/target.rb', line 13

def add_row(*args)
  raise NotImplementedError
end

#dataObject



20
21
22
# File 'lib/ethel/target.rb', line 20

def data
  nil
end

#flushObject



17
18
# File 'lib/ethel/target.rb', line 17

def flush
end

#prepareObject



10
11
# File 'lib/ethel/target.rb', line 10

def prepare
end