class AsciiGenerator

Public Class Methods

ascii(font, string) click to toggle source
# File lib/AsciiGenerator.rb, line 9
def self.ascii(font, string)
    return open("http://artii.herokuapp.com/make?text=#{string}&font=#{font}").read
end
font_list() click to toggle source
# File lib/AsciiGenerator.rb, line 5
def self.font_list
   return open("http://artii.herokuapp.com/fonts_list").read
end

Public Instance Methods

ascii(font, string) click to toggle source
# File lib/AsciiGenerator.rb, line 17
def ascii(font, string)
    return open("http://artii.herokuapp.com/make?text=#{string}&font=#{font}").read
end
font_list() click to toggle source
# File lib/AsciiGenerator.rb, line 13
def font_list
    return open("http://artii.herokuapp.com/fonts_list").read
 end