mirror of
https://github.com/hkalexling/Mango.git
synced 2026-05-01 00:00:55 -04:00
Use singleton in various classes
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
require "../context"
|
||||
|
||||
class Router
|
||||
def initialize(@context : Context)
|
||||
end
|
||||
@context : Context = Context.default
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user