diff --git a/README.adoc b/README.adoc index 132e6c29..8c0289e0 100644 --- a/README.adoc +++ b/README.adoc @@ -1903,8 +1903,11 @@ end # good def compute_thing(thing) return unless thing[:foo] + update_with_bar(thing[:foo]) + return re_compute(thing) unless thing[:foo][:bar] + partial_compute(thing) end ---- @@ -1923,6 +1926,7 @@ end # good [0, 1, 2, 3].each do |item| next unless item > 1 + puts item end ----