lib/qonfig/dsl.rb in qonfig-0.23.0 vs lib/qonfig/dsl.rb in qonfig-0.24.0
- old
+ new
@@ -13,11 +13,11 @@
# @see Qonfig::DataSet::ClassBuilder
#
# @api private
# @since 0.1.0
# @version 0.20.0
- # rubocop:disable Metrics/LineLength, Metrics/AbcSize
+ # rubocop:disable Layout/LineLength, Metrics/AbcSize
def extended(child_klass)
child_klass.instance_variable_set(:@definition_commands, Qonfig::CommandSet.new)
child_klass.instance_variable_set(:@instance_commands, Qonfig::CommandSet.new)
child_klass.instance_variable_set(:@predefined_validators, Qonfig::Validation::Collections::PredefinedRegistry.new)
child_klass.instance_variable_set(:@validators, Qonfig::Validation::Collections::InstanceCollection.new)
@@ -31,10 +31,10 @@
Qonfig::DSL::Inheritance.inherit(base: self, child: child_klass)
super
end
end)
end
- # rubocop:enable Metrics/LineLength, Metrics/AbcSize
+ # rubocop:enable Layout/LineLength, Metrics/AbcSize
end
# @return [Qonfig::CommandSet]
#
# @api private