Class: RailsAdminNext::Version

Inherits:
Object
  • Object
show all
Defined in:
lib/rails_admin_next/version.rb

Constant Summary collapse

MAJOR =

Releases are cut by publishing a Release-Drafter draft: the gem-push workflow stamps the tag's version over these constants at build time, so the in-repo values are only the floor a local gem build produces.

1
MINOR =
0
PATCH =
1
PRE =
nil

Class Method Summary collapse

Class Method Details

.to_sString

Returns:

  • (String)


15
16
17
# File 'lib/rails_admin_next/version.rb', line 15

def to_s
  [MAJOR, MINOR, PATCH, PRE].compact.join(".")
end