Class: AhoCorasick::ResultFilter
- Inherits:
-
Object
- Object
- AhoCorasick::ResultFilter
- Defined in:
- ext/ahocorasick/ruby-ahocorasick.c
Instance Method Summary collapse
-
#initialize ⇒ Object
constructor
Does nothing.
-
#valid?(result, string) ⇒ Boolean
Only defines the signature for this method.
Constructor Details
#initialize ⇒ Object
Does nothing.
47 48 49 50 |
# File 'ext/ahocorasick/ruby-ahocorasick.c', line 47 static VALUE rb_rf_init(VALUE self) { return self; } |
Instance Method Details
#valid?(result, string) ⇒ Boolean
Only defines the signature for this method.
57 58 59 60 61 62 63 64 |
# File 'ext/ahocorasick/ruby-ahocorasick.c', line 57
static VALUE
rb_rf_valid(int argc, VALUE *argv, VALUE self) {
VALUE result;
VALUE remain;
rb_scan_args(argc, argv, "20", &result, &remain);
rb_raise(rb_eNotImpError, "Method AhoCorasick::ResultFilter.valid?(<Hash> result, <String> remain) should be implemented in child classes.");
return Qtrue;
}
|