Sha256: 377bb1c4faca28f36d2ea43c0d76fb53a8d8b482475e84fedb3f0e3c3222858f

Contents?: true

Size: 556 Bytes

Versions: 6

Compression:

Stored size: 556 Bytes

Contents

# KingFormat
$LOAD_PATH << File.expand_path(File.dirname(__FILE__))

# AR model extension to define money / percent fields
require 'model_mixins/has_percent_fields'
require 'model_mixins/has_money_fields'
require 'model_mixins/has_date_fields'

require 'helpers/formatting_helper'
ActionController::Base.helper KingFormat::FormattingHelper
require 'helpers/date_helper' # holding date functions
ActionController::Base.helper KingFormat::DateHelper
require 'helpers/money_helper' # holding money symbols
ActionController::Base.helper KingFormat::MoneyHelper

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
king_views-1.0.5 king_format/lib/king_format.rb
king_views-1.0.4 king_format/lib/king_format.rb
king_views-1.0.3 king_format/lib/king_format.rb
king_views-1.0.2 king_format/lib/king_format.rb
king_views-1.0.1 king_format/lib/king_format.rb
king_views-1.0.0 king_format/lib/king_format.rb