require 'debug_helper' MyStruct = Struct.new(:a, :b, :c) struct = MyStruct.new(0, 'one', :two) DebugHelper.show(struct, 'My mixed struct')