summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-02-08 13:44:31 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-02-08 13:44:31 +0900
commit4a2c37df935495fd612377d67bdba0582ad1813e (patch)
tree6af67d2f201945ac528ec479cd234017914b977b /src/string.c
parent5da7bd3a9133f03eb259fd9858cb08fa56bc53ac (diff)
downloadmruby-4a2c37df935495fd612377d67bdba0582ad1813e.tar.gz
mruby-4a2c37df935495fd612377d67bdba0582ad1813e.zip
made mrb_define_class to return existing class, with heavy refactoring
Diffstat (limited to 'src/string.c')
-rw-r--r--src/string.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/string.c b/src/string.c
index 96a625802..f4ee6bed6 100644
--- a/src/string.c
+++ b/src/string.c
@@ -2485,8 +2485,6 @@ mrb_init_string(mrb_state *mrb)
s = mrb->string_class = mrb_define_class(mrb, "String", mrb->object_class);
MRB_SET_INSTANCE_TT(s, MRB_TT_STRING);
- mrb_include_module(mrb, s, mrb_class_get(mrb, "Comparable"));
-
mrb_define_method(mrb, s, "bytesize", mrb_str_bytesize, MRB_ARGS_NONE());