Module: DatePicker

Defined in:
lib/date_picker.rb,
lib/date_picker/railtie.rb,
lib/date_picker/version.rb,
lib/date_picker/form_helper.rb,
lib/date_picker/form_tag_helper.rb,
lib/date_picker/mappings/moment.rb,
lib/date_picker/styles/bootstrap.rb,
lib/date_picker/styles/flatpickr.rb,
lib/date_picker/styles/jquery_ui.rb,
lib/date_picker/styles/pickadate.rb,
lib/date_picker/mappings/flatpickr.rb,
lib/date_picker/mappings/jquery_ui.rb,
lib/date_picker/mappings/pickadate.rb,
lib/generators/date_picker/config_generator.rb,
lib/generators/date_picker/simple_form_generator.rb

Defined Under Namespace

Modules: FormHelper, FormTagHelper, Generators, Mappings, Styles Classes: Config, Railtie

Constant Summary collapse

VERSION =
"0.0.9"

Class Method Summary collapse

Class Method Details

.configObject



16
17
18
# File 'lib/date_picker.rb', line 16

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

.configure {|self.config| ... } ⇒ Object

Yields:



20
21
22
# File 'lib/date_picker.rb', line 20

def self.configure
  yield self.config
end