Class: Textus::Read::Boot

Inherits:
Object
  • Object
show all
Defined in:
lib/textus/read/boot.rb

Overview

Dispatched use case for the ‘boot` verb. The orientation envelope is built by the Textus::Boot library module; this class is the uniform (container:, call:) entry point that Dispatcher::VERBS resolves to. Boot is role-independent, so `call` is not consulted.

Instance Method Summary collapse

Constructor Details

#initialize(container:, call:) ⇒ Boot

Returns a new instance of Boot.



8
9
10
11
# File 'lib/textus/read/boot.rb', line 8

def initialize(container:, call:)
  @container = container
  @call      = call
end

Instance Method Details

#callObject



13
14
15
# File 'lib/textus/read/boot.rb', line 13

def call
  Textus::Boot.build(container: @container)
end