diff --git a/ruby/ql/lib/CHANGELOG.md b/ruby/ql/lib/CHANGELOG.md index 64e9e5981bc..b377a36ff55 100644 --- a/ruby/ql/lib/CHANGELOG.md +++ b/ruby/ql/lib/CHANGELOG.md @@ -2,17 +2,17 @@ ### Major Analysis Improvements - * Flow through `initialize` constructors is now taken into account. For example, in - ```rb -class C - def initialize(x) - @field = x +* Flow through `initialize` constructors is now taken into account. For example, in + ```rb + class C + def initialize(x) + @field = x + end end -end -C.new(y) -``` -there will be flow from `y` to the field `@field` on the constructed `C` object. + C.new(y) + ``` + there will be flow from `y` to the field `@field` on the constructed `C` object. ### Minor Analysis Improvements diff --git a/ruby/ql/lib/change-notes/released/0.5.0.md b/ruby/ql/lib/change-notes/released/0.5.0.md index 630619d56a3..6cda6906fae 100644 --- a/ruby/ql/lib/change-notes/released/0.5.0.md +++ b/ruby/ql/lib/change-notes/released/0.5.0.md @@ -2,17 +2,17 @@ ### Major Analysis Improvements - * Flow through `initialize` constructors is now taken into account. For example, in - ```rb -class C - def initialize(x) - @field = x +* Flow through `initialize` constructors is now taken into account. For example, in + ```rb + class C + def initialize(x) + @field = x + end end -end -C.new(y) -``` -there will be flow from `y` to the field `@field` on the constructed `C` object. + C.new(y) + ``` + there will be flow from `y` to the field `@field` on the constructed `C` object. ### Minor Analysis Improvements