summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/util/validators.rb
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-07-14 13:06:32 +0900
committerRandy Morgan <[email protected]>2012-07-14 13:06:32 +0900
commitb24833c496e84177ef1f20ea04abdfa3bc26d51c (patch)
tree50c9a2ddea474958754545762888525cfb72bf16 /lib/axlsx/util/validators.rb
parentfb86d1f56f1ecd683417f1a1cbe2a00faa2904ad (diff)
downloadcaxlsx-b24833c496e84177ef1f20ea04abdfa3bc26d51c.tar.gz
caxlsx-b24833c496e84177ef1f20ea04abdfa3bc26d51c.zip
1.1.8 release prep
Diffstat (limited to 'lib/axlsx/util/validators.rb')
-rw-r--r--lib/axlsx/util/validators.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/axlsx/util/validators.rb b/lib/axlsx/util/validators.rb
index 0f4f0dce..f168bb5e 100644
--- a/lib/axlsx/util/validators.rb
+++ b/lib/axlsx/util/validators.rb
@@ -181,7 +181,7 @@ module Axlsx
# Requires that the value is a valid scatterStyle
# must be one of :none | :line | :lineMarker | :marker | :smooth | :smoothMarker
# must be one of "none" | "line" | "lineMarker" | "marker" | "smooth" | "smoothMarker"
- # @param [Symbol|String] the value to validate
+ # @param [Symbol|String] v the value to validate
def self.validate_scatter_style(v)
Axlsx::RestrictionValidator.validate "ScatterChart.scatterStyle", [:none, :line, :lineMarker, :marker, :smooth, :smoothMarker], v.to_sym
end
@@ -262,4 +262,4 @@ module Axlsx
def self.validate_split_state_type(v)
RestrictionValidator.validate :split_state_type, [:frozen, :frozen_split, :split], v
end
-end \ No newline at end of file
+end