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