lib/assert/actual_value.rb in assert-2.19.0 vs lib/assert/actual_value.rb in assert-2.19.1
- old
+ new
@@ -1,8 +1,11 @@
+# frozen_string_literal: true
+
require "much-not-given"
require "much-stub"
module Assert; end
+
class Assert::ActualValue
include MuchNotGiven
def initialize(value = self.class.not_given, context:, &value_block)
@value = self.class.given?(value) ? value : value_block