Sha256: fea37fdc589c281b02fc0eac0db7fd71cdb3478caf5cc87ef9b70ded40b4e397
Contents?: true
Size: 451 Bytes
Versions: 19
Compression:
Stored size: 451 Bytes
Contents
# frozen_string_literal: true require "rubocop" require "rainbow" require "rfix/log" module Rfix::Ext module CommentConfig include Rfix::Log # TODO: Remove # Called by RuboCop on every line to see # if its suppose to run against it or not def cop_enabled_at_line?(_cop, line) Rfix.enabled?(processed_source.file_path, line) && super rescue StandardError say_abort "[Rfix::Enabled] #{$ERROR_INFO}" end end end
Version data entries
19 entries across 19 versions & 1 rubygems