sort objects by class before positioning

since we don’t have pages yet, but want consistent layout
This commit is contained in:
Torsten Ruger
2018-05-29 20:52:58 +03:00
parent e94c9ea37b
commit c55b41afae
4 changed files with 9 additions and 5 deletions

View File

@ -27,6 +27,9 @@ module Parfait
type_length
end
def to_s
"Integer #{@value}"
end
# compile time method to set the actual value.
# this should not really be part of parfait, as ints are immutable at runtime.
def set_value(value)