module WsdlMapper::Runtime::SimplerInspect
This module contains a non-recursive implementation of {#inspect} to prevent pollution of an `irb` console with 20000 lines of inspect
Public Instance Methods
inspect()
click to toggle source
# File lib/wsdl_mapper/runtime/simpler_inspect.rb, line 6 def inspect vars = instance_variables.map do |iv| next if iv.to_s[0, 2] == '@_' val = instance_variable_get iv "#{iv}: #{val}" end vars = vars.compact * ', ' "#<#{self.class.name} #{vars}>" end