[ruby/ostruct] bump up

https://github.com/ruby/ostruct/commit/bb253be3e9
This commit is contained in:
Nobuyoshi Nakada 2021-06-14 23:30:31 +09:00
parent 70833fab7f
commit 5dde13e5ce

View File

@ -107,7 +107,7 @@
# For all these reasons, consider not using OpenStruct at all. # For all these reasons, consider not using OpenStruct at all.
# #
class OpenStruct class OpenStruct
VERSION = "0.3.3" VERSION = "0.4.0.pre"
# #
# Creates a new OpenStruct object. By default, the resulting OpenStruct # Creates a new OpenStruct object. By default, the resulting OpenStruct
@ -327,8 +327,8 @@ class OpenStruct
# #
# Removes the named field from the object and returns the value the field # Removes the named field from the object and returns the value the field
# contained if it was defined. You may optionally provide a block. # contained if it was defined. You may optionally provide a block.
# If the field is not defined, the result of the block is returned, # If the field is not defined, the result of the block is returned,
# or a NameError is raised if no block was given. # or a NameError is raised if no block was given.
# #
# require "ostruct" # require "ostruct"