Skip to content

Commit a680753

Browse files
committed
Fix OperatingSystem determine method to operator on a class-level
1 parent f908340 commit a680753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/git_statistics/utilities.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class OperatingSystem
3030
}
3131
OPERATING_SYSTEMS.default = :unknown
3232

33-
def determine(os_name)
33+
def self.determine(os_name)
3434
OPERATING_SYSTEMS.select { |k,_| k =~ os_name }.first
3535
end
3636
end

0 commit comments

Comments
 (0)