class Rule

    # A rule for checking the length of a value
    class MinimumLength < self
      DEFAULT_MESSAGE = '%{attribute} is too short'.freeze