Hi!
Apparently these method are used in Moose but are defined nowhere.
As a quick hack:
String compile: 'asEnglishPlural ^ self'.
String compile: 'removePrefix: v ^ (self beginsWith: v) ifTrue: [ self copyFrom: v
size + 1 to: self size ] ifFalse: [ self ]'.
String compile: 'removeSuffix: v ^ (self endsWith: v) ifTrue: [ self copyFrom: 1 to:
(self size - v size)] ifFalse: [ self ]'.
Any idea what happened? Shall I open an issue?
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.