Changeset 150
- Timestamp:
- 06/28/01 20:16:33 (8 years ago)
- Files:
-
- trunk/lib/soap/element.rb (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/soap/element.rb
r128 r150 139 139 140 140 raise FormatDecodeError.new( 'No root element.' ) 141 # @data[0]142 141 end 143 142 end … … 208 207 class SOAPHeader < SOAPArray 209 208 def initialize() 210 super( self.type.to_s )209 super( self.type.to_s, 1 ) # rank == 1 211 210 end 212 211 … … 221 220 222 221 def length 223 @data [ 0 ].length222 @data.length 224 223 end 225 224 end