Sha256: 357af40cb3ab378ff6af83d60d8c1d0078ef4b4440cdee62e1c3c99805cfd948
Contents?: true
Size: 304 Bytes
Versions: 5
Compression:
Stored size: 304 Bytes
Contents
module Rails # Returns the version of the currently loaded Rails as a <tt>Gem::Version</tt> def self.gem_version Gem::Version.new VERSION::STRING end module VERSION MAJOR = 4 MINOR = 2 TINY = 0 PRE = nil STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".") end end
Version data entries
5 entries across 3 versions & 2 rubygems