Class: Proc
- Inherits:
-
Object
- Object
- Proc
- Defined in:
- (unknown)
Instance Method Summary collapse
Instance Method Details
#*(other_proc) ⇒ Object
32 33 34 35 36 37 38 |
# File 'ext/proc_compose/proc_compose.c', line 32
VALUE method_compose(VALUE self, VALUE other_proc) {
VALUE procs = other_proc;
procs = rb_ary_push(procs, self);
VALUE result = rb_proc_new(compose, procs);
return result;
}
|
#compose(other_proc) ⇒ Object
32 33 34 35 36 37 38 |
# File 'ext/proc_compose/proc_compose.c', line 32
VALUE method_compose(VALUE self, VALUE other_proc) {
VALUE procs = other_proc;
procs = rb_ary_push(procs, self);
VALUE result = rb_proc_new(compose, procs);
return result;
}
|