Sha256: 0762e03f6dc593a9ead65e46afebc03d22472ca348ebac1ff0bba2ad205f3a0f

Contents?: true

Size: 470 Bytes

Versions: 9

Compression:

Stored size: 470 Bytes

Contents

# frozen_string_literal: true

# @api private
# @since 0.21.0
class Qonfig::Settings::Callbacks::Validation
  # @param data_set [Qonfig::DataSet]
  # @return [void]
  #
  # @api private
  # @since 0.21.0
  def initialize(data_set)
    @data_set = data_set
  end

  # @return [void]
  #
  # @api private
  # @since 0.21.0
  def call
    data_set.validate!
  end

  private

  # @return [Qonfig::DataSet]
  #
  # @api private
  # @since 0.21.0
  attr_reader :data_set
end

Version data entries

9 entries across 9 versions & 1 rubygems

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