Sha256: 64aab7af41fb2c0b774cc67a0c4655e6b2514b09503ac2015c610933b7fc5a5f

Contents?: true

Size: 355 Bytes

Versions: 10

Compression:

Stored size: 355 Bytes

Contents

# frozen_string_literal: true

# @api private
# @since 0.20.0
module Qonfig::Validation::PredefinitionMixin
  # @param name [String, Symbol]
  # @param validation_logic [Block]
  # @return [void]
  #
  # @api private
  # @since 0.20.0
  def define_validator(name, &validation_logic)
    Qonfig::DataSet.define_validator(name, &validation_logic)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
qonfig-0.28.0 lib/qonfig/validation/predefinition_mixin.rb
qonfig-0.27.0 lib/qonfig/validation/predefinition_mixin.rb
qonfig-0.26.0 lib/qonfig/validation/predefinition_mixin.rb
qonfig-0.25.0 lib/qonfig/validation/predefinition_mixin.rb
qonfig-0.24.1 lib/qonfig/validation/predefinition_mixin.rb
qonfig-0.24.0 lib/qonfig/validation/predefinition_mixin.rb
qonfig-0.23.0 lib/qonfig/validation/predefinition_mixin.rb
qonfig-0.22.0 lib/qonfig/validation/predefinition_mixin.rb
qonfig-0.21.0 lib/qonfig/validation/predefinition_mixin.rb
qonfig-0.20.0 lib/qonfig/validation/predefinition_mixin.rb