Class: PPCycleTest::S

Inherits:
Struct show all
Defined in:
lib/pp.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#pretty_print, #pretty_print_cycle

Instance Attribute Details

#aObject

Returns the value of attribute a

Returns:

  • (Object)

    the current value of a



611
612
613
# File 'lib/pp.rb', line 611

def a
  @a
end

#bObject

Returns the value of attribute b

Returns:

  • (Object)

    the current value of b



611
612
613
# File 'lib/pp.rb', line 611

def b
  @b
end