get those integers crated and used

This commit is contained in:
Torsten Ruger
2018-03-31 20:21:27 +03:00
parent 5b92b6b785
commit 4725b81270
7 changed files with 37 additions and 12 deletions

View File

@ -12,9 +12,9 @@ module Parfait
def initialize(value , next_i = nil)
super()
@value = value
@next_i = next_i
@next_integer = next_i
end
attr_reader :next_i, :value
attr_reader :next_integer, :value
def self.integer_index
3 # 1 type, 2 next_i