File tree Expand file tree Collapse file tree 4 files changed +12
-13
lines changed Expand file tree Collapse file tree 4 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ Edit the `homepage/handler.rb` file to return some HTML:
1313
1414``` ruby
1515class Handler
16- def run (body , headers )
17- response_headers = {" content-type" : " text/html" }
18- body = " <html>Hello world from the Ruby template</html>"
16+ def run (body , headers )
17+ response_headers = {" content-type" : " text/html" }
18+ body = " <html>Hello world from the Ruby template</html>"
1919
20- return body, response_headers
21- end
20+ return body, response_headers
21+ end
2222end
2323```
2424
Original file line number Diff line number Diff line change 11class Handler
2- def run ( body , headers )
3- response_headers = { "content-type" : "text/plain" }
4- body = "Hello world from the Ruby template"
2+ def run ( body , headers )
3+ response_headers = { "content-type" : "text/plain" }
4+ body = "Hello world from the Ruby template"
55
6- return body , response_headers
7- end
6+ return body , response_headers
7+ end
88end
Original file line number Diff line number Diff line change 3737
3838 return res
3939end
40-
Original file line number Diff line number Diff line change 11language : ruby
22fprocess : ruby index.rb
3- build_options :
3+ build_options :
44 - name : dev
5- packages :
5+ packages :
66 - make
77 - automake
88 - gcc
You can’t perform that action at this time.
0 commit comments