mirror of
https://github.com/ruby/ruby.git
synced 2025-09-19 02:23:59 +02:00
* ext/syck/lib/syck/rubytypes.rb (Exception.yaml_new): fix bug
that causes YAML serialization problem for Exception. Exception#initialize doesn't use visible instance variable for the exception message, so call the method with the message. patched by Jingwen Owen Ou <jingweno AT gmail.com>. http://github.com/ruby/ruby/pull/41 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a2749dbbf1
commit
eb1eee03ca
3 changed files with 12 additions and 2 deletions
|
@ -13,7 +13,7 @@ module Syck
|
|||
end
|
||||
|
||||
def setup
|
||||
@wups = Wups.new
|
||||
@wups = Wups.new('test_message')
|
||||
end
|
||||
|
||||
def test_to_yaml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue