Method: Frameit::StringsParser.encoding_type

Defined in:
frameit/lib/frameit/strings_parser.rb

.encoding_type(path) ⇒ Object



42
43
44
# File 'frameit/lib/frameit/strings_parser.rb', line 42

def self.encoding_type(path)
  Helper.backticks("file --mime-encoding #{path.shellescape}", print: false).downcase
end