From 448c1e90795e6b8a9733d781cd77860c615ad2fc Mon Sep 17 00:00:00 2001 From: ericgpks Date: Mon, 28 Apr 2025 22:31:43 +0900 Subject: [PATCH] feat: add processing.rbs as a type definition file for processing.rb As a first step toward adopting rbs for this project, added type a definition for a simple method. More type definitions will be added incrementally. --- sig/youplot/backends/processing.rbs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sig/youplot/backends/processing.rbs diff --git a/sig/youplot/backends/processing.rbs b/sig/youplot/backends/processing.rbs new file mode 100644 index 0000000..9830361 --- /dev/null +++ b/sig/youplot/backends/processing.rbs @@ -0,0 +1,7 @@ +module YouPlot + module Backends + module Processing + def count_values: ([], ?tally: true, ?reverse: false) -> Array[Array[untyped]] + end + end +end