Commit 96199fd58c4b8d860fccc510e06265aa827ab368
- Diff rendering mode:
- inline
- side by side
.gitignore
(1 / 0)
|   | |||
| 1 | development.log |
trafikanten.rb
(2 / 2)
|   | |||
| 110 | 110 | end | |
| 111 | 111 | ||
| 112 | 112 | # Just to play nice, let's embed a webserver | |
| 113 | if __FILE__ == $0 | ||
| 113 | # if __FILE__ == $0 | ||
| 114 | 114 | require 'sinatra' | |
| 115 | 115 | ||
| 116 | 116 | get '/' do | |
| … | … | ||
| 140 | 140 | result << "</ul>" | |
| 141 | 141 | result.join("\n") | |
| 142 | 142 | end | |
| 143 | end | ||
| 143 | # end |
trafikanten_mini.rb
(2 / 2)
|   | |||
| 67 | 67 | end | |
| 68 | 68 | ||
| 69 | 69 | # Just to play nice, let's embed a webserver | |
| 70 | if __FILE__ == $0 | ||
| 70 | # if __FILE__ == $0 | ||
| 71 | 71 | require 'sinatra' | |
| 72 | 72 | ||
| 73 | 73 | get '/' do | |
| … | … | ||
| 97 | 97 | result << "</ul>" | |
| 98 | 98 | result.join("\n") | |
| 99 | 99 | end | |
| 100 | end | ||
| 100 | # end |

