lib/micro_micro/helpers.rb in micromicro-5.0.0 vs lib/micro_micro/helpers.rb in micromicro-5.0.1
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
module MicroMicro
module Helpers
- IGNORED_NODE_NAMES = %w[script style template].freeze
+ IGNORED_NODE_NAMES = ["script", "style", "template"].freeze
private_constant :IGNORED_NODE_NAMES
# @param node [Nokogiri::XML::Element]
# @param attributes_map [Hash{String => Array}]