Sha256: 4ff05ffc1d8cc16a94d5c37ae9391d95e116023bc97c1b34ab60e32f55385db8

Contents?: true

Size: 439 Bytes

Versions: 16

Compression:

Stored size: 439 Bytes

Contents

module ValidatesTimeliness
  module Extensions
    autoload :TimelinessDateTimeSelect, 'validates_timeliness/extensions/date_time_select'
  end

  def self.enable_date_time_select_extension!
    ::ActionView::Helpers::Tags::DateSelect.send(:prepend, ValidatesTimeliness::Extensions::TimelinessDateTimeSelect)
  end

  def self.enable_multiparameter_extension!
    require 'validates_timeliness/extensions/multiparameter_handler'
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
validates_timeliness-7.0.0.beta2 lib/validates_timeliness/extensions.rb
validates_timeliness-5.0.1 lib/validates_timeliness/extensions.rb
validates_timeliness-6.0.1 lib/validates_timeliness/extensions.rb
validates_timeliness-7.0.0.beta1 lib/validates_timeliness/extensions.rb
validates_timeliness-6.0.0 lib/validates_timeliness/extensions.rb
validates_timeliness-6.0.0.beta2 lib/validates_timeliness/extensions.rb
validates_timeliness-6.0.0.beta1 lib/validates_timeliness/extensions.rb
validates_timeliness-6.0.0.alpha1 lib/validates_timeliness/extensions.rb
validates_timeliness-5.0.0 lib/validates_timeliness/extensions.rb
validates_timeliness-5.0.0.beta2 lib/validates_timeliness/extensions.rb
validates_timeliness-5.0.0.beta1 lib/validates_timeliness/extensions.rb
validates_timeliness-5.0.0.alpha5 lib/validates_timeliness/extensions.rb
validates_timeliness-5.0.0.alpha4 lib/validates_timeliness/extensions.rb
validates_timeliness-5.0.0.alpha3 lib/validates_timeliness/extensions.rb
validates_timeliness-5.0.0.alpha2 lib/validates_timeliness/extensions.rb
validates_timeliness-5.0.0.alpha1 lib/validates_timeliness/extensions.rb