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.6.8 lib/vedeu/application/view.rb
vedeu-0.6.7 lib/vedeu/application/view.rb
vedeu-0.6.6 lib/vedeu/application/view.rb
vedeu-0.6.5 lib/vedeu/application/view.rb
vedeu-0.6.4 lib/vedeu/application/view.rb
vedeu-0.6.3 lib/vedeu/application/view.rb
vedeu-0.6.2 lib/vedeu/application/view.rb
vedeu-0.6.1 lib/vedeu/application/view.rb
vedeu-0.6.0 lib/vedeu/application/view.rb
vedeu-0.5.13 lib/vedeu/application/view.rb
vedeu-0.5.12 lib/vedeu/application/view.rb
vedeu-0.5.11 lib/vedeu/application/view.rb
vedeu-0.5.10 lib/vedeu/application/view.rb
vedeu-0.5.9 lib/vedeu/application/view.rb
vedeu-0.5.8 lib/vedeu/application/view.rb
vedeu-0.5.7 lib/vedeu/application/view.rb
vedeu-0.5.6 lib/vedeu/application/view.rb
vedeu-0.5.5 lib/vedeu/application/view.rb
vedeu-0.5.4 lib/vedeu/application/view.rb
vedeu-0.5.3 lib/vedeu/application/view.rb