class SayItWithGraphs::Characters::B
Public Instance Methods
define()
click to toggle source
# File lib/say_it_with_graphs/characters/b.rb, line 6 def define 'b' end
draw()
click to toggle source
# File lib/say_it_with_graphs/characters/b.rb, line 10 def draw a = rnd_line b = rnd_line c = rnd_line d = rnd_line frame do |f| f.line[a].at 0 f.line[a].at 100 f.line[b].at 50 f.line[d].at 0 end frame do |f| f.line[a].at 100 f.line[b].at 50 f.line[c].at 50 f.line[d].at 0 end frame do |f| f.line[a].at 83 f.line[a].at 66 f.line[b].at 66 f.line[c].at 33 f.line[c].at 16 f.line[d].at 16 end end