fixed simple layout offset bug in layout

This commit is contained in:
Torsten Ruger
2015-10-13 14:46:07 +03:00
parent aa20f2ca77
commit 80d58ee03c
9 changed files with 132 additions and 17 deletions

View File

@ -69,6 +69,11 @@ module Parfait
get(1)
end
def last
return nil if empty?
get(get_length())
end
# set the value at index.
# Lists start from index 1
def set( index , value)