sentencify 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sentencify/version.rb +1 -1
- data/lib/sentencify.rb +1 -1
- metadata +1 -1
data/lib/sentencify/version.rb
CHANGED
data/lib/sentencify.rb
CHANGED
@@ -2,7 +2,7 @@ require 'active_support/core_ext/array'
|
|
2
2
|
|
3
3
|
class Array
|
4
4
|
def sentencize(options = {})
|
5
|
-
options.assert_valid_keys(:on, :limit, :empty, :words_connector, :two_words_connector, :last_word_connector, :
|
5
|
+
options.assert_valid_keys(:on, :limit, :empty, :words_connector, :two_words_connector, :last_word_connector, :final_singular_connector, :final_plural_connector)
|
6
6
|
|
7
7
|
default_connectors = {
|
8
8
|
on: :title,
|