Module: Ember
Defined Under Namespace
Modules: Source
Constant Summary collapse
- VERSION =
File.read(File.('../../../VERSION', __FILE__)).strip
Instance Method Summary collapse
-
#rubygems_version_string ⇒ Object
we might want to unify this with the ember version string, but consistency?.
Instance Method Details
#rubygems_version_string ⇒ Object
we might want to unify this with the ember version string, but consistency?
8 9 10 11 12 13 14 15 16 |
# File 'lib/ember/version.rb', line 8 def rubygems_version_string if VERSION =~ /rc/ major, rc = VERSION.sub('-','.').scan(/(\d+\.\d+\.\d+\.rc)\.(\d+)/).first "#{major}#{rc}" else VERSION end end |