Class: Bloops::Track
- Inherits:
-
Object
- Object
- Bloops::Track
- Defined in:
- ext/ruby/rubyext.c
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
191 192 193 194 195 196 197 198 199 200 201 202 203 204 |
# File 'ext/ruby/rubyext.c', line 191
VALUE
rb_bloops_track_str(VALUE self)
{
char *str;
VALUE obj;
bloopsatrack *track;
Data_Get_Struct(self, bloopsatrack, track);
str = bloops_track_str(track);
obj = rb_str_new2(str);
free(str);
return obj;
}
|