rubyx/test/support/fake_int.rb
Torsten Ruger 0dc89c772a get the label int to work consistently
still need to use it in the return
2018-05-30 10:54:18 +03:00

16 lines
215 B
Ruby

class FakeInt
attr_reader :value
def initialize(val)
set_value(val)
end
def is_a?(clazz)
clazz == Parfait::Integer
end
def byte_length
4
end
def set_value(val)
@value = val
end
end