From 1b89bb7c0835683bbc42017b6815d6471de73ad9 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Fri, 16 Nov 2012 09:02:07 +0900 Subject: Minimized two_tone class method This is really the same as just initializing the object, but anyone who knows about three_tone is going to expect two_tone to be there as well. --- lib/axlsx/workbook/worksheet/color_scale.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/axlsx/workbook/worksheet/color_scale.rb b/lib/axlsx/workbook/worksheet/color_scale.rb index 9d1f47cf..2b2c9d41 100644 --- a/lib/axlsx/workbook/worksheet/color_scale.rb +++ b/lib/axlsx/workbook/worksheet/color_scale.rb @@ -14,7 +14,7 @@ module Axlsx end def two_tone - self.new(*self.default_cfvos) + self.new end def three_tone -- cgit v1.2.3