1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
Marcus Stollsteimer baaf681570
Improve docs for Prime.{prime_division,int_from_prime_division} (#8)
Move explanation for the decomposition array from the Example section
to the method description. Mention the term "multiplicity".

Use examples that also demonstrate factors with multiplicity
other than 1, and avoid factors/multiplicities with the same value.
Also add the decomposition written as simple mathematical expression.

This also fixes missing syntax highlighting for the code examples
due to verbatim blocks that did not only include Ruby code.
2020-03-06 20:55:22 +09:00
..
benchmark Promote benchmark to default gems 2019-11-07 16:36:14 +09:00
bundler Merge bundler-2.1.4 2020-01-08 18:00:32 +09:00
cgi Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
csv Import CSV 3.1.2 (#2547) 2019-10-12 14:03:21 +09:00
delegate Promote delegate to default gems 2019-11-07 16:36:14 +09:00
did_you_mean Sync did_you_mean 2019-12-24 18:41:55 -05:00
drb lib/drb/drb.rb: Use ruby2_keywords for keyword separation 2020-02-15 16:27:03 +09:00
forwardable [ruby/forwardable] Bump version to 1.3.1 2019-12-11 20:23:53 +09:00
getoptlong Promote getoptlong to default gems 2019-11-07 16:36:14 +09:00
irb Ignore incompatible convert of symbols 2020-03-03 15:27:23 +09:00
logger Suppress security alerts 2020-02-28 21:05:08 -08:00
matrix [ruby/matrix] Bump version 2019-12-22 21:48:54 -05:00
net Fixed net-ftp sync task and resync from standalone repo 2020-02-21 21:25:43 +09:00
observer Promote observer to default gems. But not yet released 2019-11-09 07:32:34 +09:00
open3 Promote open3 to default gems 2019-11-07 07:16:27 +09:00
optparse
ostruct [ruby/ostruct] Bump version 2019-12-22 21:48:54 -05:00
pstore Promote pstore to default gems 2019-11-07 16:36:14 +09:00
racc Merge racc from upstream repository. 2020-02-27 13:33:51 +09:00
rdoc [ruby/rdoc] Removed RDoc::Context::Section#sequence 2020-02-20 18:06:19 +09:00
reline [ruby/reline] Version 0.1.3 2020-02-15 21:52:03 +09:00
rinda
rubygems Revert "[rubygems/rubygems] Fix require issue with file extension priority" 2020-02-06 22:07:39 +09:00
singleton Promote singleton to default gems 2019-11-07 07:16:26 +09:00
timeout Promote timeout to default gems 2019-11-09 07:32:34 +09:00
tracer [ruby/tracer] Use Gemfile instead of Gem::Specification#add_development_dependency. 2019-10-25 09:29:10 +09:00
unicode_normalize
uri Fix warnings for URI.encode and URI.decode 2020-01-09 13:09:06 -08:00
weakref Promote weakref to the default gems 2020-02-11 14:05:04 +09:00
webrick Redmine /projects/ruby-trunk is now redirected 2019-12-31 22:06:19 -08:00
yaml Remove YAML::VERSION because it conflicts with Psych::VERSION 2019-11-09 11:08:24 +09:00
.document
abbrev.rb
base64.rb base64.rb: improve performance of Base64.urlsafe_encode64 2019-12-10 14:32:35 +09:00
benchmark.rb
bundler.rb Prepare to release bundler-2.1.0 2019-12-15 16:41:10 +09:00
cgi.rb change call CGI methods from :: to . 2019-08-04 09:19:30 +09:00
csv.rb Import CSV 3.1.2 (#2547) 2019-10-12 14:03:21 +09:00
debug.rb debug.rb: expand filenames in breakpoints 2019-12-05 13:28:34 +09:00
delegate.rb Fix SimpleDelegator respond_to? regression 2020-02-03 08:16:22 -08:00
did_you_mean.rb Promote did_you_mean to default gem 2019-11-30 21:08:19 -05:00
drb.rb
English.gemspec Promote English to the default gems. 2020-02-13 20:35:34 +09:00
English.rb Fixed class, module and method references [ci skip] 2019-08-16 00:00:50 +09:00
erb.rb Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
fileutils.gemspec Move gemspec of fileutils under the toplevel of lib directory. 2019-11-30 17:32:38 +09:00
fileutils.rb brace the fact that lchmod(2) can EOPNOTSUPP 2020-01-24 10:49:35 +09:00
find.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
forwardable.rb [ruby/forwardable] Make def_*_delegator return name of method defined (Fixes #10) 2019-12-11 20:23:53 +09:00
getoptlong.rb
ipaddr.gemspec Suppress security alerts 2020-02-28 21:05:08 -08:00
ipaddr.rb
irb.rb [ruby/irb] Add a new easter egg: dancing ruby 2020-02-02 03:22:51 +09:00
logger.rb [ruby/logger] Document that shift_age of 0 disables log file rotation 2019-12-10 20:59:36 +09:00
matrix.rb Fix message of ExceptionForMatrix::ErrOperationNotDefined 2020-02-09 13:39:24 +09:00
mkmf.rb Added link_command for C++ 2019-09-19 19:06:18 +09:00
mutex_m.gemspec
mutex_m.rb
observer.rb
open-uri.rb Add URI#open to warning message 2019-12-20 01:40:00 +09:00
open3.rb
optionparser.rb
optparse.rb Revert "Method reference operator" 2019-11-12 17:24:48 +09:00
ostruct.rb Fix OpenStructDocumentation 2020-01-05 14:35:14 +09:00
pp.rb Fix pp when passed a empty ruby2_keywords-flagged hash as array element 2020-01-22 10:27:02 -08:00
prettyprint.rb
prime.gemspec
prime.rb Improve docs for Prime.{prime_division,int_from_prime_division} (#8) 2020-03-06 20:55:22 +09:00
pstore.rb Make rb_scan_args handle keywords more similar to Ruby methods (#2460) 2019-09-25 11:18:49 -07:00
racc.rb Backport racc-1.4.15 from upstream. 2019-06-19 18:17:25 +09:00
rdoc.rb
readline.gemspec [ruby/readline] Version 0.0.2 2019-12-25 10:57:44 +09:00
readline.rb Suppress duplicated "require 'reline'" 2019-10-23 23:59:53 +09:00
reline.rb [ruby/reline] Use IO#write instead of IO#print 2020-02-14 22:47:27 +09:00
resolv-replace.rb
resolv.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
rss.rb
rubygems.rb Merge the current master branch of rubygems/rubygems. 2020-02-01 11:14:57 +09:00
securerandom.rb
set.rb Call initialize_clone with freeze: false if clone called with freeze: false 2020-01-03 20:13:09 -08:00
shellwords.rb Use \& instead of \1 with capture 2019-10-17 12:51:29 +09:00
singleton.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
tempfile.gemspec Promote tempfile to the default gems. 2020-02-12 19:46:34 +09:00
tempfile.rb Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
time.rb Support %U/%u/%W/%w/%V/%g/%G formats in Time.strptime 2019-11-21 03:32:20 +02:00
timeout.rb Add some documentation to Timeout#timeout about possible issues 2019-06-04 19:19:37 -07:00
tmpdir.gemspec Promote tmpdir to the default gems 2020-02-12 20:34:19 +09:00
tmpdir.rb Isolate the PRNG for tmpdir/tempfile 2020-01-29 10:14:15 +09:00
tracer.rb Fixed misspellings 2019-12-20 12:19:45 +09:00
tsort.rb
un.rb DocumentRoot is optional 2020-01-21 18:13:54 +09:00
uri.rb Revert "Revert "Promote uri to default gems"" 2019-11-11 22:21:43 +09:00
weakref.rb
webrick.rb lib/webrick.rb: use require_relative for webrick/utils.rb 2019-08-25 19:29:52 +09:00
yaml.rb Update the canonical repository url 2019-08-19 17:52:20 +09:00