aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/ostruct.rb3
1 files changed, 1 insertions, 2 deletions
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