Sha256: 9d84c771b4f0be2aac2ce0fcecfb12e2ed3cd18f93b5ccf5e93a85974ae27dbf

Contents?: true

Size: 665 Bytes

Versions: 11

Compression:

Stored size: 665 Bytes

Contents

module Formize
  DATE_FORMAT_TOKENS = {
    'dd' => '%d',
    'oo' => '%j',
    'D'  => '%a',
    'DD' => '%A',
    'mm' => '%m',
    'M'  => '%b',
    'MM' => '%B',
    'y'  => '%y',
    'yy' => '%Y'
  }.freeze
  TIME_FORMAT_TOKENS = {
    'hh' => '%H',
    'mm' => '%M',
    'ss' => '%S',
    'tt' => '%p',
    'TT' => '%P'
  }.freeze
                                                

  # @private
  module Helpers
    autoload :AssetTagHelper, 'formize/helpers/asset_tag_helper'
    autoload :TagHelper, 'formize/helpers/tag_helper'
    autoload :FormHelper, 'formize/helpers/form_helper'
    autoload :FormTagHelper, 'formize/helpers/form_tag_helper'
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
formize-0.0.27 lib/formize/helpers.rb
formize-0.0.26 lib/formize/helpers.rb
formize-0.0.25 lib/formize/helpers.rb
formize-0.0.24 lib/formize/helpers.rb
formize-0.0.23 lib/formize/helpers.rb
formize-0.0.22 lib/formize/helpers.rb
formize-0.0.21 lib/formize/helpers.rb
formize-0.0.20 lib/formize/helpers.rb
formize-0.0.19 lib/formize/helpers.rb
formize-0.0.18 lib/formize/helpers.rb
formize-0.0.17 lib/formize/helpers.rb