Permalink
Browse files

Fix syntax error on 1.8.7.

  • Loading branch information...
1 parent 4885839 commit 8fe39477bd4f369e0a7d13b31e34839097df5953 @myronmarston myronmarston committed Oct 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)

0 comments on commit 8fe3947

Please sign in to comment.