Class: Bug::Float
Defined Under Namespace
Modules: Breakable, Yield
Constant Summary
collapse
- CONSTANTS =
constant
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.buf_new(len) ⇒ Object
4
5
6
7
8
|
# File 'ext/-test-/string/new.c', line 4
static VALUE
bug_str_buf_new(VALUE self, VALUE len)
{
return rb_str_buf_new(NUM2LONG(len));
}
|
.external_new(len, enc) ⇒ Object
10
11
12
13
14
|
# File 'ext/-test-/string/new.c', line 10
static VALUE
bug_external_str_new(VALUE self, VALUE len, VALUE enc)
{
return rb_external_str_new_with_enc(NULL, NUM2LONG(len), rb_to_encoding(enc));
}
|
.make_call_super(procarg) ⇒ Object
17
18
19
20
21
|
# File 'ext/-test-/proc/super.c', line 17
static VALUE
bug_proc_make_call_super(VALUE self, VALUE procarg)
{
return rb_proc_new(bug_proc_call_super, procarg);
}
|
Instance Method Details
#rstruct_len ⇒ Object
3
4
5
6
7
|
# File 'ext/-test-/struct/len.c', line 3
static VALUE
bug_struct_len(VALUE obj)
{
return LONG2NUM(RSTRUCT_LEN(obj));
}
|