summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-11-16 09:02:07 +0900
committerRandy Morgan <[email protected]>2012-11-16 09:02:07 +0900
commit1b89bb7c0835683bbc42017b6815d6471de73ad9 (patch)
tree1256e19c9156a84536137e4d7404454245eb0eb9 /lib
parent1bad5fb4cc947985c6148a19915c195619c29cc0 (diff)
downloadcaxlsx-1b89bb7c0835683bbc42017b6815d6471de73ad9.tar.gz
caxlsx-1b89bb7c0835683bbc42017b6815d6471de73ad9.zip
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/axlsx/workbook/worksheet/color_scale.rb2
1 files changed, 1 insertions, 1 deletions
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