Skip to content

Commit

Permalink
Merge pull request #77 from tas50/tas50/readme_updates
Browse files Browse the repository at this point in the history
Allow copy / paste from the readme
  • Loading branch information
olleolleolle authored Dec 30, 2024
2 parents facab20 + a047e2b commit 7c0b1f3
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 7c0b1f3

Please sign in to comment.