Class: Savon::Builder

Inherits:
Object
  • Object
show all
Defined in:
lib/i_hope_you_die.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.clear_forced_outputObject



11
12
13
# File 'lib/i_hope_you_die.rb', line 11

def self.clear_forced_output
  @@forced_output = nil
end

.forced_output=(forced_output) ⇒ Object



7
8
9
# File 'lib/i_hope_you_die.rb', line 7

def self.forced_output=(forced_output)
  @@forced_output = forced_output
end

Instance Method Details

#to_sObject



15
16
17
18
19
20
21
# File 'lib/i_hope_you_die.rb', line 15

def to_s
  if defined? @@forced_output and not @@forced_output.nil?
    @@forced_output
  else
    super
  end
end