Module: AmstradGpt
- Defined in:
- lib/amstrad_gpt.rb,
lib/amstrad_gpt/amstrad.rb,
lib/amstrad_gpt/gateway.rb,
lib/amstrad_gpt/version.rb,
lib/amstrad_gpt/chat_gpt.rb,
lib/amstrad_gpt/interface.rb,
lib/amstrad_gpt/web_server.rb
Defined Under Namespace
Classes: Amstrad, ChatGpt, Gateway, Interface, WebServer
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
Class Method Details
.run ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/amstrad_gpt.rb', line 5 def self.run(...) require 'amstrad_gpt/gateway' gateway = Gateway.run(...) puts "AmstradGpt Gateway started on #{gateway.tty}" require 'amstrad_gpt/web_server' AmstradGpt::WebServer.gateway = gateway AmstradGpt::WebServer.run! end |