rubyx/lib/parfait/integer.rb

13 lines
265 B
Ruby
Raw Normal View History

2015-04-08 19:32:56 +02:00
# Integer class for representing mathods on Integers
# Integers are Values (not Objects),
# - they have fixed value
# - they are immutable
# you can *not* assign instance variables or methods
# TODO how this idea works with Numeric ?
class Integer < Value
end