Class: Qonfig::Settings::Callbacks::Validation Private

Inherits:
Object
  • Object
show all
Defined in:
lib/qonfig/settings/callbacks/validation.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 0.21.0

Instance Method Summary collapse

Constructor Details

#initialize(data_set) ⇒ void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

Since:

  • 0.21.0



11
12
13
# File 'lib/qonfig/settings/callbacks/validation.rb', line 11

def initialize(data_set)
  @data_set = data_set
end

Instance Method Details

#callvoid

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

Since:

  • 0.21.0



19
20
21
# File 'lib/qonfig/settings/callbacks/validation.rb', line 19

def call
  data_set.validate!
end