検索結果
-
Class
# to _ yaml(opts = {}) -> String (3) -
例外を発生します。
...ンを指定しますが使われません。
@raise TypeError
require 'yaml'
begin
cc = Class.new
cc.to_yaml
rescue
p $!
#=> #<TypeError: can't dump anonymous class Class>
end...
例外を発生します。