Skip to content

Commit ed3c385

Browse files
committed
Use consistent syntax for ruby code blocks in CONTRIBUTING.md
1 parent 8728a65 commit ed3c385

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/ruby/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ variables from the implementor spec: `@method` and `@object`, which the implemen
188188

189189
Here's an example of a snippet of a shared spec and two specs which integrates it:
190190

191-
``` ruby
191+
```ruby
192192
# core/hash/shared/key.rb
193193
describe :hash_key_p, shared: true do
194194
it "returns true if the key's matching value was false" do
@@ -216,7 +216,7 @@ Sometimes, shared specs require more context from the implementor class than a s
216216
this by passing a lambda as the method, which will have the scope of the implementor. Here's an example of
217217
how this is used currently:
218218

219-
``` ruby
219+
```ruby
220220
describe :kernel_sprintf, shared: true do
221221
it "raises TypeError exception if cannot convert to Integer" do
222222
-> { @method.call("%b", Object.new) }.should raise_error(TypeError)

0 commit comments

Comments
 (0)