Sha256: 12c288434b19ec46f2d86a321d96a96e058dc0a759396dc541e4b48dedbd3b46
Contents?: true
Size: 347 Bytes
Versions: 1
Compression:
Stored size: 347 Bytes
Contents
module Lrama class Lexer class GrammarFile attr_reader :path, :text def initialize(path, text) @path = path @text = text 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lrama-0.6.0 | lib/lrama/lexer/grammar_file.rb |