marcandre b16eaf8632 lib/ostruct.rb: Use FrozenError instead of RuntimeError.
Patch by Yuuji Yaginuma. [Fixes GH-1808]

In other classes, `FrozenError` will be raised if change the frozen
object.
In order to match the behavior, I think that `FrozenError` should
use in `OpenStruct`.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-02-06 23:52:30 +00:00
..
2017-12-30 12:10:43 +00:00
2017-10-22 11:27:06 +00:00
2017-12-31 00:06:34 +00:00
2017-12-24 08:38:43 +00:00
2017-12-22 08:00:10 +00:00
2017-12-22 08:00:10 +00:00
2017-10-21 13:34:19 +00:00
2017-12-25 07:55:25 +00:00
2018-01-18 00:52:01 +00:00
2018-01-24 08:25:36 +00:00
2018-01-26 03:41:04 +00:00
2017-12-23 23:33:09 +00:00
2018-01-18 03:09:39 +00:00
2018-01-07 17:49:46 +00:00
2017-11-22 21:13:51 +00:00