= private = protected
clear()
Equivalent to #terminate. This method is obsolete; use #terminate instead.
/* * Equivalent to #terminate. * This method is obsolete; use #terminate instead. */ static VALUE strscan_clear(VALUE self) { rb_warning("StringScanner#clear is obsolete; use #terminate instead"); return strscan_terminate(self); }