[ruby-cvs:70828] mame:r63737 (trunk): lib/prime.rb: remove unused methods

mame at ruby-lang.org mame at ruby-lang.org
Sun Jun 24 18:31:08 JST 2018


mame	2018-06-24 18:31:07 +0900 (Sun, 24 Jun 2018)

  New Revision: 63737

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63737

  Log:
    lib/prime.rb: remove unused methods
    
    This change removes TrialDivision#cache, TrialDivision#primes, and
    TrialDivision#primes_so_far.
    
    TrialDivision class is undocumented officially, so this class is used
    only internally.  Yugui san moved prime library from mathn to prime in
    2008, and then she might forget to delete these methods.
    
    A patch from @shio-phys.  https://github.com/ruby/prime/pull/4

  Modified files:
    trunk/lib/prime.rb


More information about the ruby-cvs mailing list