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