Sha256: 14af199c53014453b198463f2d19b89e1348249740a0f185f7b747775e79389d
Contents?: true
Size: 330 Bytes
Versions: 2
Compression:
Stored size: 330 Bytes
Contents
module Vedeu # Provides methods to be used by Vedeu::ApplicationView. # # @api private 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.4.56 | lib/vedeu/application/view.rb |
vedeu-0.4.55 | lib/vedeu/application/view.rb |