lib/qonfig/imports/mappings.rb in qonfig-0.25.0 vs lib/qonfig/imports/mappings.rb in qonfig-0.26.0
- old
+ new
@@ -38,11 +38,14 @@
# @return [void]
#
# @api private
# @since 0.18.0
# @version 0.21.0
- # rubocop:disable Metrics/AbcSize, Metrics/MethodLength, Metrics/BlockLength
+ # rubocop:disable Metrics/AbcSize
+ # rubocop:disable Metrics/MethodLength
+ # rubocop:disable Metrics/BlockLength
+ # rubocop:disable Metrics/PerceivedComplexity
def import!(settings_interface = Module.new) # rubocop:disable Metrics/AbcSize
key_matchers.each_pair do |(mapped_method_name, key_matcher)|
raise(
Qonfig::UnknownSettingError,
"Setting with <#{key_matcher.scope_pattern}> key does not exist!"
@@ -83,10 +86,13 @@
end
end
end
end
end
- # rubocop:enable Metrics/AbcSize, Metrics/MethodLength, Metrics/BlockLength
+ # rubocop:enable Metrics/AbcSize
+ # rubocop:enable Metrics/MethodLength
+ # rubocop:enable Metrics/BlockLength
+ # rubocop:enable Metrics/PerceivedComplexity
private
# @return [Hash<Symbol|String,Symbol|String>]
#