diff --git a/bindings/ruby/sfml-graphics/graphics/Drawable.cpp b/bindings/ruby/sfml-graphics/graphics/Drawable.cpp index eeb98323..ad481022 100644 --- a/bindings/ruby/sfml-graphics/graphics/Drawable.cpp +++ b/bindings/ruby/sfml-graphics/graphics/Drawable.cpp @@ -611,7 +611,7 @@ void Init_Drawable( void ) globalDrawableModule = rb_define_module_under( sfml, "Drawable" ); // Class methods - rb_define_singleton_method( globalDrawableModule, "included", Drawable_Included, 1 ); + rb_define_module_method( globalDrawableModule, "included", Drawable_Included, 1 ); // Instance methods rb_define_method( globalDrawableModule, "initialize", Drawable_Initialize, -1 );