Sha256: 11900ae826fda5eabde49dadf225e044a2a6e24205d0ca3c5ea414e7c98fcea2

Contents?: true

Size: 213 Bytes

Versions: 1

Compression:

Stored size: 213 Bytes

Contents

require 'relative_time/in_words'
require 'relative_time/version'

module RelativeTime
  def self.in_words(date_to, date_from = Time.now, locale: :en)
    InWords.new(locale: locale).(date_to, date_from)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
relative_time-1.1.0 lib/relative_time.rb