method

version

v5.2.3 - Show latest stable - Class: Rails
version()
public

Returns the version of the currently loaded Rails as a string.