Class: Hash
Instance Method Summary collapse
Instance Method Details
#blank? ⇒ Boolean
19 20 21 22 |
# File 'ext/faster_support/array_blank.c', line 19 static VALUE rb_hash_blank(VALUE self) { return RHASH_EMPTY_P(self) ? Qtrue : Qfalse; } |
#present? ⇒ Boolean
24 25 26 27 |
# File 'ext/faster_support/array_blank.c', line 24 static VALUE rb_hash_present(VALUE self) { return RB_NEGATE(rb_hash_blank(self)); } |