1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

sentence.rb documented.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-08-18 17:04:06 +00:00
parent 7017b63b81
commit 9e5d0d861f
3 changed files with 281 additions and 15 deletions

View file

@ -658,7 +658,7 @@ class TestAssignmentGen < Test::Unit::TestCase
end
def test_assignment
syntax = Sentence::Gen.expand_syntax(Syntax)
syntax = Sentence.expand_syntax(Syntax)
Sentence.each(syntax, :xassign, 3) {|assign|
assign, vars = rename_var(assign)
sent = assign.to_s