add integer to parfait
This commit is contained in:
parent
fdb3fbc825
commit
81e3a98af8
12
lib/parfait/integer.rb
Normal file
12
lib/parfait/integer.rb
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
# 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
|
Loading…
Reference in New Issue
Block a user