Class: Kor::Output::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/kor/output/base.rb

Direct Known Subclasses

Csv, Markdown

Instance Method Summary collapse

Constructor Details

#initialize(io) ⇒ Base

Returns a new instance of Base.



4
5
6
# File 'lib/kor/output/base.rb', line 4

def initialize(io)
  @io = io
end

Instance Method Details

#finishObject



21
22
# File 'lib/kor/output/base.rb', line 21

def finish
end

#head(keys) ⇒ Object



15
16
# File 'lib/kor/output/base.rb', line 15

def head(keys)
end

#ioObject



8
9
10
# File 'lib/kor/output/base.rb', line 8

def io
  @io
end

#parse(opt) ⇒ Object



12
13
# File 'lib/kor/output/base.rb', line 12

def parse(opt)
end

#puts(values) ⇒ Object



18
19
# File 'lib/kor/output/base.rb', line 18

def puts(values)
end