Skip to content

Commit 0d8ab85

Browse files
committed
Merge branch 'patch-8' of github.com:mpantel/hyperstack into patch-1
2 parents 24037e2 + e4a4bb8 commit 0d8ab85

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/client-dsl/notes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Ruby methods may *receive* a block which is simply an anonymous function.
66

7-
The following code in Ruby
7+
The following code in Ruby:
88

99
```ruby
1010
some_method(1, 2, 3) { |x| puts x }
@@ -13,7 +13,7 @@ is roughly equivilent to this Javascript
1313
```JavaScript
1414
some_method(1, 2, 3 function(x) { console.log(x) })
1515
```
16-
In Ruby blocks may be specified either using `do ... end` or with `{ ... }`
16+
In Ruby blocks may be specified either using `do ... end` or with `{ ... }`:
1717

1818
```Ruby
1919
some_method { an_expression }
@@ -23,7 +23,7 @@ some_method do
2323
expressions
2424
end
2525
```
26-
Standard style reserves the `{ ... }` notation for single line blocks, and `do ... end` for multiple line blocks
26+
Standard style reserves the `{ ... }` notation for single line blocks, and `do ... end` for multiple line blocks.
2727

2828
### Component Instances
2929

0 commit comments

Comments
 (0)