File: files.rb

package info (click to toggle)
ruby-client-side-validations 23.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 272 kB
  • sloc: ruby: 788; javascript: 671; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 367 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

# This is only used by dependent libraries that need to find the files

module ClientSideValidations
  module Files
    Initializer = File.expand_path('../generators/templates/client_side_validations/initializer.rb', __dir__)
    Javascript  = File.expand_path('../../vendor/assets/javascripts/rails.validations.js', __dir__)
  end
end