# SYNTAX TEST "Packages/Ruby/Ruby.sublime-syntax" ################## # Strings and heredocs ################## puts 'test' puts <<~EOF Indented string! EOF # ^ string.unquoted.heredoc # ^ - string.unquoted.heredoc puts <<-HTML # ^^^^^^ meta.tag.structure HTML class_eval <<-RUBY, __FILE__, __LINE__ + 1 def #{sym}(*args, &block) # ^^ punctuation.section.embedded custom(Mime[:#{sym}], *args, &block) end RUBY DB.fetch(<<-SQL, conn).name #^^^^^^^^^^^^^^^^^^^^^^^^^^ source.ruby # ^^^^^^ string.unquoted # ^^^^^^^^^^^^ - string.unquoted # ^ punctuation.separator # ^ punctuation.definition.group.end SELECT * FROM users; #^^^^^^^^^^^^^^^^^^^ text.sql.embedded SQL foo, bar = <