Sha256: d16592d661d6a9337834ad8489f7f51d61c77d4bde50bdb8786cb9fd19035b6b
Contents?: true
Size: 933 Bytes
Versions: 8
Compression:
Stored size: 933 Bytes
Contents
# frozen_string_literal: true require_relative 'mini_defender/version' require_relative 'mini_defender/validator' require_relative 'mini_defender/rule' require_relative 'mini_defender/rules' require_relative 'mini_defender/rules_expander' require_relative 'mini_defender/rules_factory' require_relative 'mini_defender/validation_error' require_relative 'mini_defender/validates_input' require_relative 'mini_defender/handles_validation_errors' require_relative 'mini_defender/validation_helpers' # Extensions to Ruby Core require_relative 'mini_defender/extensions/enumerable' require_relative 'mini_defender/extensions/hash' module MiniDefender end # Register Library Rules MiniDefender::Rules.constants .map { |id| MiniDefender::Rules.const_get(id) } .filter { |const| const.ancestors.include?(MiniDefender::Rule) } .filter { |const| const.available? } .each { |klass| MiniDefender::RulesFactory.register(klass) }
Version data entries
8 entries across 8 versions & 1 rubygems