We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05c4f9b commit 7cd9af1Copy full SHA for 7cd9af1
Steepfile
@@ -4,4 +4,5 @@ target :lib do
4
signature "sig"
5
6
check "lib/lrama/bitmap.rb"
7
+ check "lib/lrama/warning.rb"
8
end
sig/lrama/warning.rbs
@@ -0,0 +1,16 @@
1
+module Lrama
2
+ class Warning
3
+ interface _Appendable
+ def <<: (String message) -> self
+ end
+
+ @out: _Appendable
9
+ attr_reader errors: Array[String]
10
+ attr_reader warns: Array[String]
11
+ def initialize: (?_Appendable out) -> void
12
+ def error: (String message) -> void
13
+ def warn: (String message) -> void
14
+ def has_error?: -> bool
15
16
+end
0 commit comments