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 ebd868c95c..ed4f604c74 100644 --- a/lib/rexml/instruction.rb +++ b/lib/rexml/instruction.rb @@ -58,5 +58,9 @@ module REXML def node_type :processing_instruction end + + def inspect + "<?p-i #{target} ...?>" + end end end |