lib/assert/context/subject_dsl.rb in assert-2.19.0 vs lib/assert/context/subject_dsl.rb in assert-2.19.1
- old
+ new
@@ -1,6 +1,9 @@
+# frozen_string_literal: true
+
module Assert; end
class Assert::Context; end
+
module Assert::Context::SubjectDSL
# Add a piece of description text or return the full description for the context
def description(text = nil)
if text
self.descriptions << text.to_s