Use ruby code fence [ci-skip]

These examples show RDoc in the form of Ruby comments, and should
therefore use the `ruby` code fence (which matches the other examples in
this guide).
This commit is contained in:
Jonathan Hefner 2023-07-06 12:59:53 -05:00
parent 8447a72948
commit 0e908bb5ef

@ -181,7 +181,7 @@ When documenting the behavior for IRB, Ruby's interactive REPL, always prefix co
For example,
```irb
```ruby
# Find the customer with primary key (id) 10.
# irb> customer = Customer.find(10)
# # => #<Customer id: 10, first_name: "Ryan">
@ -191,7 +191,7 @@ For example,
For command-line examples, always prefix the command with `$`, the output doesn't have to be prefixed with anything.
```bash
```ruby
# Run the following command:
# $ bin/rails new zomg
# ...