/* * call-seq: * Digest::Class.bubblebabble(string, ...) -> hash_string * * Returns the BubbleBabble encoded hash value of a given _string_. */ static VALUE rb_digest_class_s_bubblebabble(VALUE klass, SEL sel, int argc, VALUE *argv) { return bubblebabble_str_new(rb_funcall2(klass, id_digest, argc, argv)); }
/* * call-seq: * digest_obj.bubblebabble -> hash_string * * Returns the resulting hash value in a Bubblebabble encoded form. */ static VALUE rb_digest_instance_bubblebabble(VALUE self, SEL sel) { return bubblebabble_str_new(rb_funcall(self, id_digest, 0)); }
/* * call-seq: * Digest.bubblebabble(string) -> bubblebabble_string * * Returns a BubbleBabble encoded version of a given _string_. */ static VALUE rb_digest_s_bubblebabble(VALUE klass, SEL sel, VALUE str) { return bubblebabble_str_new(str); }
/* Document-method: Digest::Class::bubblebabble * * call-seq: * Digest::Class.bubblebabble(string, ...) -> hash_string * * Returns the BubbleBabble encoded hash value of a given _string_. */ static VALUE rb_digest_class_s_bubblebabble(int argc, VALUE *argv, VALUE klass) { return bubblebabble_str_new(rb_funcallv(klass, id_digest, argc, argv)); }