Commit 8e278d5a by Daniel Mendler Committed by GitHub

Merge pull request #79 from mathieumahe/frozen_string_literal

Frozen string literal
parents 386b92d2 b70adf5a
# frozen_string_literal: true
# Extra magic # Extra magic
[['application/vnd.openxmlformats-officedocument.presentationml.presentation', [[0, "PK\003\004", [[0..5000, '[Content_Types].xml', [[0..5000, 'ppt/']]]]]]], [['application/vnd.openxmlformats-officedocument.presentationml.presentation', [[0, "PK\003\004", [[0..5000, '[Content_Types].xml', [[0..5000, 'ppt/']]]]]]],
......
# -*- coding: binary -*- # -*- coding: binary -*-
# frozen_string_literal: true
# Generated from freedesktop.org.xml # Generated from freedesktop.org.xml
class MimeMagic class MimeMagic
# @private # @private
......
...@@ -133,6 +133,7 @@ end ...@@ -133,6 +133,7 @@ end
magics = (common_magics.compact + magics).uniq magics = (common_magics.compact + magics).uniq
puts "# -*- coding: binary -*-" puts "# -*- coding: binary -*-"
puts "# frozen_string_literal: true"
puts "# Generated from #{FILE}" puts "# Generated from #{FILE}"
puts "class MimeMagic" puts "class MimeMagic"
puts " # @private" puts " # @private"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment