sig/buffer.rbs in rbs-2.1.0 vs sig/buffer.rbs in rbs-2.2.0

- old
+ new

@@ -9,14 +9,18 @@ attr_reader name: untyped # The content of the buffer. attr_reader content: String - attr_reader lines: Array[String] + @lines: Array[String] - attr_reader ranges: Array[Range[Integer]] + @ranges: Array[Range[Integer]] def initialize: (name: untyped name, content: String content) -> void + + def lines: () -> Array[String] + + def ranges: () -> Array[Range[Integer]] # Translate position to location. def pos_to_loc: (Integer pos) -> loc # Translate location to position.