lib/simple_service/result.rb in simple_service-2.1.4 vs lib/simple_service/result.rb in simple_service-2.1.5
- old
+ new
@@ -1,10 +1,10 @@
module SimpleService
class Result
attr_accessor :value, :recorded_commands
def initialize()
- @recorded_commands = []
+ @recorded_commands = Set.new
@verbose_tracking = SimpleService.configuration.verbose_tracking
end
def success!(klass, command_name, result_value)
record_command(klass, command_name, result_value, :success)