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