Class: SOAP::Generator

Inherits:
Object
  • Object
show all
Defined in:
lib/etapper/soap/generator.rb

Instance Method Summary collapse

Instance Method Details

#generate(obj, io = nil) ⇒ Object



8
9
10
11
# File 'lib/etapper/soap/generator.rb', line 8

def generate(obj, io = nil)
  orig_generate(obj, io)  # Sets the @buf instance variable
  @buf.gsub!(/>\s*</m, '><')
end

#orig_generateObject



7
# File 'lib/etapper/soap/generator.rb', line 7

alias_method :orig_generate, :generate