Mimics behavior of `app/validators` in Rails projects by adding it to `ActiveSupport::Dependencies.autoload_paths` if it is not already in the Array.
@return [void]
# File lib/metasploit_data_models/validators.rb, line 7 def autoload_validators validators_path = validators_pathname.to_s unless ActiveSupport::Dependencies.autoload_paths.include? validators_path ActiveSupport::Dependencies.autoload_paths << validators_path end end
Generated with the Darkfish Rdoc Generator 2.