lib/rdf/n3/patches/array_hacks.rb in rdf-n3-1.1.3.1 vs lib/rdf/n3/patches/array_hacks.rb in rdf-n3-1.99.0
- old
+ new
@@ -35,10 +35,10 @@
options[:last_word_connector] ||= skip_last_comma ? default_two_words_connector : default_last_word_connector
end
end
# options.assert_valid_keys(:words_connector, :two_words_connector, :last_word_connector, :locale)
- options = {:words_connector => default_words_connector, :two_words_connector => default_two_words_connector, :last_word_connector => default_last_word_connector}.merge(options)
+ options = {words_connector: default_words_connector, two_words_connector: default_two_words_connector, last_word_connector: default_last_word_connector}.merge(options)
case length
when 0
""
when 1