rubyx/lib/soml/parfait/word.soml

11 lines
179 B
Plaintext
Raw Normal View History

2015-11-08 00:54:47 +02:00
class Word < Object
2015-11-08 17:11:03 +02:00
int at(int index)
get_internal(index)
end
Word add_digit( int i)
2015-11-08 23:58:54 +02:00
int l = self.char_length + 2
2015-11-08 17:11:03 +02:00
set_internal( l , i)
return self
end
2015-11-08 00:54:47 +02:00
end