Mine
public ruby v1 · immutableclass Foo BAR = 0x01 BAZ = 0x02 attr_accessor :state def frobify # ?? end def to_s "state: #{frobify( @state )}" endendf = Foo.newf.state = Foo::BARputs f # This should output# state: Foo::BAR# or·# state: BAR