Sha256: 1518ce81c535e67dfd5686f41750beaa3c58c7204bfc281f15593e6e20b0d964

Contents?: true

Size: 313 Bytes

Versions: 32

Compression:

Stored size: 313 Bytes

Contents

module Vedeu

  # Provides methods to be used by Vedeu::ApplicationView.
  #
  module View

    # Returns the current local time.
    #
    # @example
    #   time_now # => Mon 29 Jun 19:26
    #
    # @return [String]
    def time_now
      Time.now.strftime('%a %e %b %k:%M')
    end

  end # View

end # Vedeu

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
vedeu-0.5.2 lib/vedeu/application/view.rb
vedeu-0.5.1 lib/vedeu/application/view.rb
vedeu-0.5.0 lib/vedeu/application/view.rb
vedeu-0.4.65 lib/vedeu/application/view.rb
vedeu-0.4.64 lib/vedeu/application/view.rb
vedeu-0.4.63 lib/vedeu/application/view.rb
vedeu-0.4.62 lib/vedeu/application/view.rb
vedeu-0.4.61 lib/vedeu/application/view.rb
vedeu-0.4.60 lib/vedeu/application/view.rb
vedeu-0.4.59 lib/vedeu/application/view.rb
vedeu-0.4.58 lib/vedeu/application/view.rb
vedeu-0.4.57 lib/vedeu/application/view.rb