mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix OpenStructDocumentation
In 9be3295d53,
OpenStruct's documentation stopped to be rendered by RDoc
(there should be no additional code between documentation
comment and documented class). Fixing this.
This commit is contained in:
parent
c7af1e432a
commit
54fd50c951
Notes:
git
2020-01-05 14:35:39 +09:00
1 changed files with 2 additions and 3 deletions
|
|
@ -9,6 +9,8 @@
|
|||
# See OpenStruct for an example.
|
||||
#
|
||||
|
||||
require_relative 'ostruct/version'
|
||||
|
||||
#
|
||||
# An OpenStruct is a data structure, similar to a Hash, that allows the
|
||||
# definition of arbitrary attributes with their accompanying values. This is
|
||||
|
|
@ -72,9 +74,6 @@
|
|||
# the objects that are created, as there is much more overhead in the setting
|
||||
# of these properties compared to using a Hash or a Struct.
|
||||
#
|
||||
|
||||
require_relative 'ostruct/version'
|
||||
|
||||
class OpenStruct
|
||||
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue