rubyx/lib/soml/parfait/word.soml

11 lines
179 B
Plaintext
Raw Normal View History

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