Sha256: 480a633bd6fcaa0b1749a6a99e3bc7cd64ddab474a33dde6ce3317dd80106f1f
Contents?: true
Size: 354 Bytes
Versions: 5
Compression:
Stored size: 354 Bytes
Contents
module Lrama class Lexer class GrammarFile attr_reader :path, :text def initialize(path, text) @path = path @text = text.freeze end def ==(other) self.class == other.class && self.path == other.path end def lines @lines ||= text.split("\n") end end end end
Version data entries
5 entries across 5 versions & 1 rubygems