akr
0eadc632c1
* lib/tsort.rb: Returns an enumerator if no block is given.
...
[ruby-core:66270] [Feature #10508 ] Proposed by Andrey Savchenko.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-26 10:46:50 +00:00
akr
4c5bfb9fbd
* lib/tsort.rb (TSort.tsort): Extracted from TSort#tsort.
...
(TSort.tsort_each): Extracted from TSort#tsort_each.
(TSort.strongly_connected_components): Extracted from
TSort#strongly_connected_components.
(TSort.each_strongly_connected_component): Extracted from
TSort#each_strongly_connected_component.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-10-17 15:59:40 +00:00
akr
ed6231195b
* lib/tsort.rb (TSort.each_strongly_connected_component_from):
...
Extracted from TSort#each_strongly_connected_component_from.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-10-17 03:32:15 +00:00
akr
29f73c43a5
* test/test_pp.rb: extract from lib/pp.rb.
...
* test/test_prettyprint.rb: extract from lib/prettyprint.rb.
* test/test_tsort.rb: extract from lib/tsort.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 23:36:45 +00:00
nahi
45c950c1df
* test/test_*.rb: Pathname#parent -> Pathname#dirname.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-13 04:06:31 +00:00
nahi
79c0e644a1
* test/inlinetest.rb, test/{test_generator.rb,test_ipaddr.rb,
...
test_pathname.rb,test_pp.rb,test_prettyprint.rb,test_set.rb,
test_time.rb,test_tsort.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-06 02:34:24 +00:00