aboutsummaryrefslogtreecommitdiffstats
path: root/sample/optparse
Commit message (Collapse)AuthorAgeFilesLines
* * parse.y (block_param): restrict block parameters to be localmatz2006-10-031-13/+13
| | | | | | | | | | variables only. * test/ruby/test_iterator.rb (TestIterator::test_nested_iterator): update test suite to conform the last change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/optparse/subcommand.rb: a sample for sub commands likenobu2004-12-111-0/+19
| | | | | | | cvs. contributed by Minero Aoki. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_require_safe): preserve old ruby_errinfo.matz2004-03-201-1/+1
| | | | | | | | | | | | | [ruby-talk:95409] * eval.c (rb_f_raise): should not clear backtrace information if exception object already have one. * parse.y (assoc_list): allow {sym: val} style Hash. [Ruby2] this change is done by Nobuyoshi Nakada <nobu@ruby-lang.org>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/optparse/opttest.rb: added.nobu2003-12-011-0/+85
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e