mirror of
https://github.com/hkalexling/Mango.git
synced 2026-04-25 00:00:52 -04:00
Type annotate the self.default methods
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ end
|
||||
class Storage
|
||||
@path : String
|
||||
|
||||
def self.default
|
||||
def self.default : self
|
||||
unless @@default
|
||||
@@default = new
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user