Skip to content

Commit

Permalink
Merge pull request #318 from ydah/rbs
Browse files Browse the repository at this point in the history
Update rbs for GrammarFile
  • Loading branch information
yui-knk authored Dec 25, 2023
2 parents f5b8a5f + 44cb263 commit a2d9208
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sig/lrama/lexer/grammar_file.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ module Lrama
attr_reader path: String
attr_reader text: String

@lines: Array[String]

def initialize: (String path, String text) -> void

def ==: (GrammarFile other) -> bool
def lines: () -> Array[String]
end
end
end
end

0 comments on commit a2d9208

Please sign in to comment.