lib/hanami/assets/compilers/less.rb in hanami-assets-1.3.0 vs lib/hanami/assets/compilers/less.rb in hanami-assets-1.3.1
- old
+ new
@@ -6,10 +6,10 @@
# @since 0.3.0
# @api private
class Less < Compiler
# @since 0.3.0
# @api private
- EXTENSIONS = /\.(less)\z/
+ EXTENSIONS = /\.(less)\z/.freeze
# @since 0.3.0
# @api private
def self.eligible?(name)
name.to_s =~ EXTENSIONS