lib/lrama/grammar/percent_code.rb in lrama-0.6.0 vs lib/lrama/grammar/percent_code.rb in lrama-0.6.1

- old
+ new

@@ -1,11 +1,11 @@ module Lrama class Grammar class PercentCode - attr_reader :id, :code + attr_reader :name, :code - def initialize(id, code) - @id = id + def initialize(name, code) + @name = name @code = code end end end end