simple test for get type

This commit is contained in:
Torsten Ruger
2014-08-07 15:41:13 +03:00
parent a9ab3ca13e
commit c2ae184e6e
4 changed files with 20 additions and 7 deletions

View File

@ -3,9 +3,9 @@
class Message
def get_type_for name
index = @layout.get_index name
get_at index
def get_type_for(name)
index = @layout.get_index(name)
get_at(index)
end
def send