module RuboCop::Cop::Style::MutableConstant::ShareableConstantValue
def recent_shareable_value?(node)
def recent_shareable_value?(node) shareable_constant_comment = magic_comment_in_scope node return false if shareable_constant_comment.nil? shareable_constant_value = MagicComment.parse(shareable_constant_comment) .shareable_constant_value shareable_constant_value_enabled? shareable_constant_value end