Sha256: 453899f9ff959be7f7207daccdd80d7e2406fe1ec0aeee368a70c8a3c220f714

Contents?: true

Size: 491 Bytes

Versions: 1

Compression:

Stored size: 491 Bytes

Contents

require 'date_picker/railtie' if defined? ::Rails::Railtie
require 'date_picker/mappings/moment'
require 'date_picker/mappings/jquery_ui'
require 'date_picker/mappings/pickadate'
require 'date_picker/mappings/flatpickr'
require 'date_picker/form_tag_helper'
require 'date_picker/form_helper'
require 'i18n'

module DatePicker
  
  class Config
    attr_accessor :style, :formats
  end

  def self.config
    @@config||= Config.new
  end

  def self.configure
    yield self.config
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
date_picker-0.0.9 lib/date_picker.rb