Class: Textus::Protocol::Builder::Infrastructure
- Inherits:
-
Object
- Object
- Textus::Protocol::Builder::Infrastructure
- Defined in:
- lib/textus/protocol/builder/infrastructure.rb
Defined Under Namespace
Classes: Components
Instance Method Summary collapse
Instance Method Details
#call(root) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/textus/protocol/builder/infrastructure.rb', line 7 def call(root) layout = Layout.new(root) database = Infra::Database.new(layout:).setup! file_system = Infra::FileSystem.new store = Infra::Store.new(database:, file_system:) Components.new(database:, file_system:, store:, layout:) end |