sig/shims/parser/nodes.rbs in steep-1.5.0.pre.4 vs sig/shims/parser/nodes.rbs in steep-1.5.0.pre.5
- old
+ new
@@ -60,9 +60,14 @@
%a{pure} def else: () -> Source::Range?
%a{pure} def end: () -> Source::Range?
end
+ # ```ruby
+ # foo ? bar : baz
+ # # ^ question
+ # # ^ colon
+ # ```
interface _Ternary
%a{pure} def question: () -> Source::Range
%a{pure} def colon: () -> Source::Range
end