class SayItWithGraphs::Characters::Lt

Public Instance Methods

define() click to toggle source
# File lib/say_it_with_graphs/characters/lt.rb, line 6
def define
  '<'
end
draw() click to toggle source
# File lib/say_it_with_graphs/characters/lt.rb, line 10
def draw
  a = rnd_line
  b = rnd_line
  frame do |f|
    f.line[a].at 50
    f.line[b].at 50
  end
  frame do |f|
    f.line[a].at 75
    f.line[b].at 25
  end
  frame do |f|
    f.line[a].at 100
    f.line[b].at 0
  end
end