aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-09 13:39:32 +0000
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-09 13:39:32 +0000
commit997df3ad0149fd69c3574660af26170d7464a6f3 (patch)
tree61fbed4ae0e606c1e76341536a326e6548781fd6
parent21791dd97f69ca28d6011289a286b1de326bc972 (diff)
downloadruby-997df3ad0149fd69c3574660af26170d7464a6f3.tar.gz
* lib/ostruct.rb: [DOC] fix position of nodoc directive.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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