Refactor how we require the book commponents

This commit is contained in:
Tim Kächele 2023-11-08 22:44:47 +01:00
parent cc624fb93a
commit b7df45794c
2 changed files with 13 additions and 5 deletions

View File

@ -1,11 +1,7 @@
# frozen_string_literal: true
require_relative "rex/version"
require_relative "rex/book/limit"
require_relative "rex/book/order"
require_relative "rex/book/trade"
require_relative "rex/book/limit_order_book"
require_relative "rex/book/matcher"
require_relative "rex/book"
module Rex
class Error < StandardError; end

12
lib/rex/book.rb Normal file
View File

@ -0,0 +1,12 @@
# frozen_string_literal: true
require_relative "book/limit"
require_relative "book/trade"
require_relative "book/order"
require_relative "book/limit_order_book"
require_relative "book/matcher"
module Rex
module Book
end
end