samples/04_physics_and_collisions/08_bouncing_on_collision/app/main.rb
def render_pegs args
    args.state.pegs.each do |peg|
      peg.draw args
    end
  end
#Draw the pegs in a grid pattern
Draw the pegs in a grid pattern
Draw the pegs in a grid pattern
def render_pegs args
    args.state.pegs.each do |peg|
      peg.draw args
    end
  end
def render_pegs args args . state . pegs . each do | peg | peg . draw args end end
Draw the pegs in a grid pattern
Draw the pegs in a grid pattern
args