较小的 Web 六边形 一个简单的六边形图示,有一个用户(左)端口和一个数据库(右)端口. 它只是卡尔克拉特..
Illustration of a simple hexagon with one user (left) port and one database (right) port.
It simply calculates the formula:
result = input * ratee.g.
result = 100 * 1.1 = 110The user port is connected to either the web or to a test harness, with or without the server adapter.
The database port looks up the rate in a database, either in-the-code database, or from a file.
The startup decides how the wiring goes.
Run rackup config.ru to get the web UI on port 9292
test folderruby test_smaller_web_hexagon.rb暂无开放 Issues,或尚未同步最近议题。