Skip to content

Commit f58e16c

Browse files
TPeialexellis
authored andcommitted
Ruby indentation fixes
Signed-off-by: TPei <[email protected]>
1 parent 15d6ee9 commit f58e16c

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ Edit the `homepage/handler.rb` file to return some HTML:
1313

1414
```ruby
1515
class 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
2222
end
2323
```
2424

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class 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
88
end

template/ruby-http/index.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,3 @@
3737

3838
return res
3939
end
40-

template/ruby-http/template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
language: ruby
22
fprocess: ruby index.rb
3-
build_options:
3+
build_options:
44
- name: dev
5-
packages:
5+
packages:
66
- make
77
- automake
88
- gcc

0 commit comments

Comments
 (0)