Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
practicingruby committed Jan 29, 2009
1 parent 78df46f commit 7c68dad
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 149 deletions.
33 changes: 0 additions & 33 deletions bugs/resolved/table_header_overrun.rb

This file was deleted.

26 changes: 0 additions & 26 deletions bugs/resolved/table_ignores_align_headers.rb

This file was deleted.

19 changes: 0 additions & 19 deletions bugs/resolved/table_in_bounding_box_without_height.rb

This file was deleted.

54 changes: 0 additions & 54 deletions bugs/resolved/table_row_background_color_issue.rb

This file was deleted.

14 changes: 0 additions & 14 deletions bugs/resolved/table_suppress_newline.rb

This file was deleted.

4 changes: 2 additions & 2 deletions lib/prawn/graphics.rb
Expand Up @@ -210,8 +210,8 @@ def ellipse_at(point, r1, r2 = r1)
#
def polygon(*points)
move_to points[0]
(points << points[0]).each_cons(2) do |p1,p2|
line_to(*p2)
(points[1..-1] << points[0]).each do |point|
line_to(*point)
end
end

Expand Down
3 changes: 2 additions & 1 deletion lib/prawn/graphics/color.rb
Expand Up @@ -54,6 +54,7 @@ def stroke_color(*color)
#
# stroke_some_method(*args) #=> some_method(*args); stroke
# fill_some_method(*args) #=> some_method(*args); fill
# fill_and_stroke_some_method(*args) #=> some_method(*args); fill_and_stroke
#
def method_missing(id,*args,&block)
case(id.to_s)
Expand Down Expand Up @@ -137,4 +138,4 @@ def update_colors
end
end
end
end
end

0 comments on commit 7c68dad

Please sign in to comment.