Skip to content

Commit bb10420

Browse files
committed
Fix broken links to ruby-docs.org and replace them with the official ruby-lang docs
1 parent 07cfff0 commit bb10420

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gems-with-extensions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ Further Reading
272272
and [part 2](http://tenderlovemaking.com/2010/12/11/writing-ruby-c-extensions-part-2.html))
273273
by Aaron Patterson
274274
* Interfaces to C libraries can be written using ruby and
275-
[fiddle](https://ruby-doc.org/stdlib/libdoc/fiddle/rdoc/Fiddle.html) (part
275+
[fiddle](https://docs.ruby-lang.org/en/master/Fiddle.html) (part
276276
of the standard library) or [ruby-ffi](https://github.com/ffi/ffi)
277277
* [Extending Ruby](http://ruby-doc.com/docs/ProgrammingRuby/html/ext_ruby.html)
278278
is a [Programming Ruby](http://docs.ruby-doc.com/docs/ProgrammingRuby/)

patterns.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,8 @@ For example, let's say we have a `foo` gem with the following structure:
273273
This might seem harmless since your custom `erb` and `set` files are within
274274
your gem. However, this is not harmless, anyone who requires this gem will not
275275
be able to bring in the
276-
[ERB](http://ruby-doc.org/stdlib/libdoc/erb/rdoc/classes/ERB.html) or
277-
[Set](http://www.ruby-doc.org/stdlib/libdoc/set/rdoc/classes/Set.html) classes
276+
[ERB](https://docs.ruby-lang.org/en/master/ERB.html) or
277+
[Set](https://docs.ruby-lang.org/en/master/Set.html) classes
278278
provided by Ruby's standard library.
279279

280280
The best way to get around this is to keep files in a different directory

0 commit comments

Comments
 (0)