method

version

v4.2.1 - Show latest stable - Class: Rails
version()
public

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