Sha256: f914f8196c41d54027e61700a85c27db18533c1190372ab0737bee8de691a4e6
Contents?: true
Size: 329 Bytes
Versions: 3
Compression:
Stored size: 329 Bytes
Contents
# frozen_string_literal: true module Lrama class Grammar class Type attr_reader :id, :tag def initialize(id:, tag:) @id = id @tag = tag end def ==(other) self.class == other.class && self.id == other.id && self.tag == other.tag end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lrama-0.7.0 | lib/lrama/grammar/type.rb |
lrama-0.6.11 | lib/lrama/grammar/type.rb |
lrama-0.6.10 | lib/lrama/grammar/type.rb |