Classes: Circle, Square
357 358 359 360 361 362 363
# File 'lib/gruff/line.rb', line 357 def self.renderer(style) if style.to_s == 'square' Square.new else Circle.new end end