Method: Vimdeck::Ascii.header

Defined in:
lib/vimdeck.rb

.header(text, type) ⇒ Object



11
12
13
14
15
16
17
18
19
# File 'lib/vimdeck.rb', line 11

def self.header(text, type)
  if type == "large"
    font = Artii::Base.new :font => 'slant'
  else
    font = Artii::Base.new :font => 'smslant'
  end

  font.asciify(text)
end