lib/cuke_modeler/models/rule.rb in cuke_modeler-3.18.0 vs lib/cuke_modeler/models/rule.rb in cuke_modeler-3.19.0
- old
+ new
@@ -58,13 +58,10 @@
models << background if background
models
end
- # Building strings just isn't pretty
- # rubocop:disable Metrics/AbcSize
-
# Returns a string representation of this model. For a rule model,
# this will be Gherkin text that is equivalent to the rule being modeled.
def to_s
text = ''
@@ -74,10 +71,9 @@
text << "\n\n#{background_output_string}" if background
text << "\n\n#{tests_output_string}" unless tests.empty?
text
end
- # rubocop:enable Metrics/AbcSize
private