method

version

rails latest stable - Class: Rails
version()
public

Returns the currently loaded version of Rails as a string.