class Pompom::Asciifier
Public Class Methods
new()
click to toggle source
# File lib/pompom.rb, line 180 def initialize @asciifier = Artii::Base.new end
Public Instance Methods
asciify(text)
click to toggle source
# File lib/pompom.rb, line 184 def asciify(text) result = @asciifier.asciify(text).split("\n") # Fix kerning for when 2nd character of minutes is a 4. This fix # should really be moved back upstream to the figlet font. result[3].sub!(/_\| /, '_|') result.join("\n") end