Sha256: 18a0b046f6e6589a598a0e249ff7ee482d56a53b4425a7e92b47f7a846569b40

Contents?: true

Size: 553 Bytes

Versions: 2

Compression:

Stored size: 553 Bytes

Contents

class List
  STAR_BULLET   = :star
  CIRCLE_BULLET = :circle
  PLUS_BULLET   = :plus
  SPACE_BULLET  = :space

  BULLETS = {
    :star   => lambda{|app| app.star(-3,13,5,6,3)},
    :circle => lambda{|app| app.oval(-7,10,7)},
    :plus   => lambda do |app|
                 # rect(x,y,w,h) NOTE, docs are wrong
                 length = 9
                 beam = 1
                 app.rect(-5,8,beam,length,1)   # vertical bar
                 app.rect(-9,12,length,beam,1)  # horizontal bar
               end,
    :space  => lambda {|app| }
    }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
royw-shoeshine-0.0.1 lib/shoeshine/list.rb
royw-shoeshine-0.0.2 lib/shoeshine/list.rb