lib/writeexcel/format.rb in writeexcel-0.6.5 vs lib/writeexcel/format.rb in writeexcel-0.6.6

- old
+ new

@@ -992,11 +992,11 @@ # # Set vertical cell alignment. This is required by the set_format_properties() # method to differentiate between the vertical and horizontal properties. # def set_valign(alignment) # :nodoc: - set_align(alignment); + set_align(alignment) end # # Implements the Excel5 style "merge". # @@ -1185,14 +1185,14 @@ # using set_border_color() or individually using the relevant method calls # shown above. Examples of the border styles and colours are shown in the # 'Borders' worksheet created by formats.rb. # def set_border_color(color) - set_bottom_color(color); - set_top_color(color); - set_left_color(color); - set_right_color(color); + set_bottom_color(color) + set_top_color(color) + set_left_color(color) + set_right_color(color) end # # set bottom border color of the cell. # see set_border_color() about color. @@ -1261,10 +1261,10 @@ rotation = -rotation + 90 if rotation < 0 else rotation = 0 end - @rotation = rotation; + @rotation = rotation end # # :call-seq: