Module: Edtf::Humanize::Set

Includes:
Formats
Defined in:
lib/edtf/humanize/set.rb

Instance Method Summary collapse

Instance Method Details

#humanizeObject



7
8
9
10
11
12
13
# File 'lib/edtf/humanize/set.rb', line 7

def humanize
  format_set_entries(self).to_sentence(
    words_connector:     Edtf::Humanize.configuration.set_dates_connector,
    last_word_connector: Edtf::Humanize.configuration.set_last_date_connector,
    two_words_connector: Edtf::Humanize.configuration.set_two_dates_connector
  )
end