lib/surrogate/values.rb in surrogate-0.3.1 vs lib/surrogate/values.rb in surrogate-0.3.2

- old
+ new

@@ -10,11 +10,11 @@ if args.size > 1 MethodQueue.new args elsif arg.kind_of? Exception Raisable.new arg elsif arg.kind_of? Value - Recursive.new arg + arg else Value.new arg end end @@ -39,16 +39,9 @@ class Value class Raisable < Value def value(*) raise @value - end - end - - - class Recursive < Value - def value(hatchling, method_name) - @value.value hatchling, method_name end end class MethodQueue < Value