Commit 9e1575f

mo <mo.khan@gmail.com>
2018-04-27 21:32:05
use del namespace.
1 parent 2048b7c
lib/del/room_repository.rb
@@ -1,3 +1,4 @@
+module Del
   class RoomRepository
     def initialize
       @rooms = Set.new
@@ -7,3 +8,4 @@
       @rooms << room
     end
   end
+end
lib/del/user.rb
@@ -1,5 +1,7 @@
+module Del
   class User
     def initialize(attributes)
       @attributes = attributes
     end
   end
+end
lib/del/user_repository.rb
@@ -1,3 +1,4 @@
+module Del
   class UserRepository
     def initialize
       @users = Set.new
@@ -7,3 +8,4 @@
       @users << User.new(item.attributes)
     end
   end
+end