diff --git a/lib/ostruct.rb b/lib/ostruct.rb index 11eee24537..bbf1743247 100644 --- a/lib/ostruct.rb +++ b/lib/ostruct.rb @@ -71,8 +71,7 @@ # of these properties compared to using a Hash or a Struct. # class OpenStruct - # :nodoc: - class << self + class << self # :nodoc: alias allocate new end