class SayItWithGraphs::Characters::M

Public Instance Methods

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