Skip to content

Commit

Permalink
Use %w[] for array of strings
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme committed Feb 17, 2024
1 parent f43f8ef commit 2d9e49e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sass/calculation_value/calculation_operation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module CalculationValue
class CalculationOperation
include CalculationValue

OPERATORS = ['+', '-', '*', '/'].freeze
OPERATORS = %w[+ - * /].freeze

private_constant :OPERATORS

Expand Down

0 comments on commit 2d9e49e

Please sign in to comment.