Skip to content

Commit

Permalink
Allow copy / paste from the readme
Browse files Browse the repository at this point in the history
Remove the $ in the shell commands and wrapping them in code blocks
allows for copy/paste directly into a terminal from GitHub.

Signed-off-by: Tim Smith <tsmith84@gmail.com>
  • Loading branch information
tas50 committed Dec 29, 2024
1 parent facab20 commit a047e2b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,18 @@ gem 'resolv'

And then execute:

$ bundle install
```bash
bundle install
```

Or install it yourself as:

$ gem install resolv
```bash
gem install resolv
```

## Usage


```ruby
p Resolv.getaddress "www.ruby-lang.org"
p Resolv.getname "210.251.121.214"
Expand All @@ -44,4 +47,3 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ruby/resolv.

0 comments on commit a047e2b

Please sign in to comment.