examples/union.rb in xdr-0.0.3 vs examples/union.rb in xdr-0.0.4
- old
+ new
@@ -25,12 +25,5 @@
r.set(:ok)
r.get # => nil
r.set(:nonsense)
r.get # => nil
-
-
-# TODO
-case r
-when ResultType::OK ; puts "i'm ok!"
-when ResultType::ERROR ; puts "broken!"
-end
\ No newline at end of file