зеркало из https://github.com/github/ruby.git
rexml: improve docs
* lib/rexml/entity.rb: [DOC] drop a pointless comment. Reported by Michael Gee (mikegee). [Fix GH-1736] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
8ee30ab6f7
Коммит
71e3a3e8e3
|
@ -27,8 +27,7 @@ module REXML
|
||||||
# the constructor with the entity definition, or use the accessor methods.
|
# the constructor with the entity definition, or use the accessor methods.
|
||||||
# +WARNING+: There is no validation of entity state except when the entity
|
# +WARNING+: There is no validation of entity state except when the entity
|
||||||
# is read from a stream. If you start poking around with the accessors,
|
# is read from a stream. If you start poking around with the accessors,
|
||||||
# you can easily create a non-conformant Entity. The best thing to do is
|
# you can easily create a non-conformant Entity.
|
||||||
# dump the stupid DTDs and use XMLSchema instead.
|
|
||||||
#
|
#
|
||||||
# e = Entity.new( 'amp', '&' )
|
# e = Entity.new( 'amp', '&' )
|
||||||
def initialize stream, value=nil, parent=nil, reference=false
|
def initialize stream, value=nil, parent=nil, reference=false
|
||||||
|
|
Загрузка…
Ссылка в новой задаче