diff --git a/ruby/sfml-system/system/Clock.cpp b/ruby/sfml-system/system/Clock.cpp index 5b7987169..e2cf0f43f 100644 --- a/ruby/sfml-system/system/Clock.cpp +++ b/ruby/sfml-system/system/Clock.cpp @@ -45,4 +45,5 @@ void Init_Clock( void ) // Aliases rb_define_alias( globalClockClass, "elapsedTime", "getElapsedTime" ); + rb_define_alias( globalClockClass, "elapsed_time", "getElapsedTime" ); }