Open envygeeks opened 6 years ago
Given the following:
# -- HTML = { "text/css": :link, "application/javascript": :script, "image/png": :img, }
language-ruby highlights it as a string
language-ruby
Even though it's a Symbol:
[1] pry(main)> { "text/css": :hello } # => { # :"text/css" => :hello # }
Given the following:
language-ruby
highlights it as a stringEven though it's a Symbol: