Sha256: 80728388a95fe58b72c08ae72d54272b3990bbf3449289be0d073f80418c97f5

Contents?: true

Size: 268 Bytes

Versions: 39

Compression:

Stored size: 268 Bytes

Contents

require "active_support/core_ext/module/delegation"

module Devise
  class TimeInflector
    include ActionView::Helpers::DateHelper

    class << self
      attr_reader :instance
      delegate :time_ago_in_words, to: :instance
    end

    @instance = new
  end
end

Version data entries

39 entries across 39 versions & 8 rubygems

Version Path
devise-4.3.0 lib/devise/time_inflector.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/devise-4.2.1/lib/devise/time_inflector.rb
devise-4.2.1 lib/devise/time_inflector.rb
devise-4.2.0 lib/devise/time_inflector.rb
devise-3.5.10 lib/devise/time_inflector.rb
devise-4.0.3 lib/devise/time_inflector.rb
devise-4.1.1 lib/devise/time_inflector.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/devise-4.1.0/lib/devise/time_inflector.rb
devise-4.1.0 lib/devise/time_inflector.rb
devise-3.5.9 lib/devise/time_inflector.rb
devise-4.0.2 lib/devise/time_inflector.rb
devise-4.0.1 lib/devise/time_inflector.rb
devise-3.5.8 lib/devise/time_inflector.rb
devise-3.5.7 lib/devise/time_inflector.rb
devise-4.0.0 lib/devise/time_inflector.rb
devise-4.0.0.rc2 lib/devise/time_inflector.rb
devise-4.0.0.rc1 lib/devise/time_inflector.rb
devise-3.5.6 lib/devise/time_inflector.rb
devise-3.5.5 lib/devise/time_inflector.rb
devise-3.5.4 lib/devise/time_inflector.rb