1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
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
..
cgi Use printf instead of puts and sprintf 2017-12-12 15:01:04 +00:00
drb drb: use \A and \z 2017-12-30 12:10:43 +00:00
forwardable
irb proc.c (bind_location): Add Binding#source_location 2017-12-26 08:38:35 +00:00
matrix
net net/http: fix documentation for HTTP connection reuse 2018-01-30 18:32:40 +00:00
optparse
racc
rdoc fix reset order. 2017-12-31 00:06:34 +00:00
rexml Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
rinda
rss Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
rubygems Merge RubyGems-2.7.5 from upstream. 2018-02-06 02:58:35 +00:00
shell
unicode_normalize
uri uri/common: reduce allocations and retained objects 2018-01-28 21:07:13 +00:00
webrick webrick 1.4.2 2017-12-24 08:38:43 +00:00
yaml
.document Ignore gemspec under the lib directory for documentation. 2017-12-12 08:34:13 +00:00
abbrev.rb
base64.rb
benchmark.rb
cgi.rb
cmath.gemspec Bump version to cmath-1.0.0 as default gems. 2017-12-11 03:27:47 +00:00
cmath.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
csv.gemspec Bump version to csv-1.0.0 as default gems. 2017-12-13 05:24:01 +00:00
csv.rb
debug.rb
delegate.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
drb.rb
e2mmap.rb
English.rb
erb.rb $SAFE as a process global state. [Feature #14250] 2017-12-28 20:09:24 +00:00
fileutils.gemspec Bump up fileutils-1.0.2 2017-12-22 08:00:10 +00:00
fileutils.rb Bump up fileutils-1.0.2 2017-12-22 08:00:10 +00:00
find.rb
forwardable.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
getoptlong.rb
ipaddr.gemspec
ipaddr.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
irb.rb irb.rb: fix highlight 2017-12-25 07:55:25 +00:00
logger.rb logger: use safe navigation operator 2018-01-18 00:52:01 +00:00
matrix.rb lib/matrix.rb: Document deprecated methods [#12032] [doc] [ci-skip] 2018-02-06 23:47:49 +00:00
mkmf.rb mkmf.rb: werror on mswin 2018-01-24 08:25:36 +00:00
monitor.rb
mutex_m.rb
observer.rb
open-uri.rb open-uri: clear string after buffering 2018-01-08 01:11:33 +00:00
open3.rb
optionparser.rb
optparse.rb optparse.rb: froze string literals 2018-01-26 03:41:04 +00:00
ostruct.rb lib/ostruct.rb: Use FrozenError instead of RuntimeError. 2018-02-06 23:52:30 +00:00
pp.rb Requiring pp is not required now [ci skip] 2017-12-18 01:51:53 +00:00
prettyprint.rb
prime.rb
profile.rb
profiler.rb
pstore.rb
rdoc.rb Merge rdoc-6.0.1. 2017-12-23 23:33:09 +00:00
resolv-replace.rb
resolv.rb resolv.rb: NUL hosts 2018-01-18 03:09:39 +00:00
rss.rb
rubygems.rb Merge RubyGems-2.7.5 from upstream. 2018-02-06 02:58:35 +00:00
scanf.gemspec Bump version to scanf-1.0.0 as default gems. 2017-12-11 08:18:01 +00:00
scanf.rb lib/scanf.rb: [DOC] fix typos 2018-01-07 17:49:46 +00:00
securerandom.rb securerandom.rb: fix an example of choose [ci skip] 2017-10-25 07:28:22 +00:00
set.rb lib/set.rb: [DOC] remove empty comments 2017-11-22 21:13:51 +00:00
shell.rb
shellwords.rb
singleton.rb
sync.rb
tempfile.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
thwait.rb
time.rb
timeout.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00
tmpdir.rb tmpdir.rb: merged make_tmpname to create 2017-11-15 08:02:09 +00:00
tracer.rb
tsort.rb
un.rb
uri.rb
weakref.rb
webrick.rb
yaml.rb Add uplevel keyword to Kernel#warn and use it 2017-12-12 11:56:25 +00:00