Sha256: 4d7fed36d2a014ac5b57da594cff1c2b3e9aa80fbb7485cdafee918d3643f985

Contents?: true

Size: 225 Bytes

Versions: 7

Compression:

Stored size: 225 Bytes

Contents

require 'debug_helper'

MyStruct = Struct.new(:a, :b, :c)
struct_0 = MyStruct.new(0, 1, 2)
struct_1 = MyStruct.new(3, 4, 5)
struct_0.a = struct_1
struct_1.a = struct_0
DebugHelper.show(struct_0, 'My circular struct')

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
debug_helper-2.1.0 markdown/readme/classes/struct/circular/show.rb
debug_helper-2.0.0 markdown/readme/classes/struct/circular/show.rb
debug_helper-1.8.0 markdown/readme/classes/struct/circular/show.rb
debug_helper-1.7.0 markdown/readme/classes/struct/circular/show.rb
debug_helper-1.6.0 markdown/readme/classes/struct/circular/show.rb
debug_helper-1.5.0 markdown/readme/classes/struct/circular/show.rb
debug_helper-1.0.0 markdown/readme/classes/struct/circular/show.rb