lib/rubocop/cop/solidus/spree_icon_deprecated.rb in rubocop-solidus-0.1.3 vs lib/rubocop/cop/solidus/spree_icon_deprecated.rb in rubocop-solidus-0.1.4
- old
+ new
@@ -1,18 +1,18 @@
# frozen_string_literal: true
module RuboCop
module Cop
module Solidus
- # This cop finds icon helper calls and suggest using solidus_icon
+ # This cop finds icon helper calls and suggest using solidus_icon.
#
- # @example EnforcedStyle:
+ # @example
+ #
# # bad
# helper.icon('example')
#
# # good
# helper.solidus_icon('example')
- #
#
class SpreeIconDeprecated < Base
extend AutoCorrector
include TargetSolidusVersion
minimum_solidus_version 2.3