lib/opulent/tokens.rb in opulent-1.7.6 vs lib/opulent/tokens.rb in opulent-1.7.7
- old
+ new
@@ -1,10 +1,11 @@
# @Opulent
module Opulent
# Opulent KEYWORDS
- KEYWORDS = %i(
- def yield include if else elsif unless case when each while until doctype
- )
+ KEYWORDS = [
+ :def, :yield, :include, :if, :else, :elsif, :unless, :case, :when, :each,
+ :while, :until, :doctype
+ ].freeze
# @Tokens
class Tokens
# All tokens available within Opulent
#