Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix syntax error on 1.8.7.

  • Loading branch information...
commit 8fe39477bd4f369e0a7d13b31e34839097df5953 1 parent 4885839
@myronmarston myronmarston authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/interpol/configuration.rb
View
2  lib/interpol/configuration.rb
@@ -389,7 +389,7 @@ def matches_options?(options)
def type_validation_options_for(type, options)
return type unless @string_validation_options
- [*type, @string_validation_options.merge('type' => 'string')]
+ Array(type) + [@string_validation_options.merge('type' => 'string')]
end
def parse_value(value)
Please sign in to comment.
Something went wrong with that request. Please try again.