Sha256: da490cb1c4522ab69c488c0e6bf4c157ee10816a05b374b95fe1150e4f01f86c
Contents?: true
Size: 376 Bytes
Versions: 6
Compression:
Stored size: 376 Bytes
Contents
# frozen_string_literal: true module RuboCop module Cop # This module encapsulates the ability to allow certain methods when # parsing. module AllowedMethods private def allowed_method?(name) allowed_methods.include?(name.to_s) end def allowed_methods cop_config.fetch('AllowedMethods', []) end end end end
Version data entries
6 entries across 6 versions & 2 rubygems