lib/ldclient-rb/memoized_value.rb in launchdarkly-server-sdk-6.4.0 vs lib/ldclient-rb/memoized_value.rb in launchdarkly-server-sdk-7.0.0

- old
+ new

@@ -12,10 +12,10 @@ @value = nil end def get @mutex.synchronize do - if !@inited + unless @inited @value = @generator.call @inited = true end end @value