diff options
Diffstat (limited to 'lib/rexml/instruction.rb')
-rw-r--r-- | lib/rexml/instruction.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rexml/instruction.rb b/lib/rexml/instruction.rb index f24f7786f7..c16b894b4a 100644 --- a/lib/rexml/instruction.rb +++ b/lib/rexml/instruction.rb @@ -38,7 +38,11 @@ module REXML Instruction.new self end + # == DEPRECATED + # See the rexml/formatters package + # def write writer, indent=-1, transitive=false, ie_hack=false + Kernel.warn( "#{self.class.name}.write is deprecated" ) indent(writer, indent) writer << START.sub(/\\/u, '') writer << @target |