Don't bother creating an instance

This commit is contained in:
Brandon Keepers
2014-11-27 13:17:28 -05:00
parent 434ab9f2c0
commit ffe2ccf1f6
3 changed files with 11 additions and 14 deletions

View File

@@ -117,7 +117,7 @@ module Linguist
# Used to retrieve the interpreter from the shebang line of a file's data.
def self.interpreter_from_shebang(data)
Shebang.new(data).interpreter
Shebang.interpreter(data)
end
end