rubyx/lib/soml/parfait/word.soml

11 lines
186 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)
return get_internal(index)
2015-11-08 16:11:03 +01:00
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