Sha256: 69cdadfcf26d5b6136355f62e147c3993fbb35b69519ec8a88d782f773bdb434

Contents?: true

Size: 143 Bytes

Versions: 2

Compression:

Stored size: 143 Bytes

Contents

class Numeric
  def to_time_sentence specificity = 3
    Time.to_sentence(self, specificity)
  end
  alias_method :to_ts, :to_time_sentence
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
time_sentence-1.0.1 lib/ext/ts_numeric.rb
time_sentence-1.0.0 lib/ext/ts_numeric.rb