summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'object.c')
-rw-r--r--object.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/object.c b/object.c
index 566ac3b9fa..54f516314e 100644
--- a/object.c
+++ b/object.c
@@ -569,12 +569,6 @@ rb_obj_size(VALUE self, VALUE args, VALUE obj)
return LONG2FIX(1);
}
-static VALUE
-block_given_p(rb_execution_context_t *ec, VALUE self)
-{
- return RBOOL(rb_block_given_p());
-}
-
/**
* :nodoc:
*--