Module: Resqued::ProclineVersion
Instance Method Summary collapse
Instance Method Details
#procline_version ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/resqued/procline_version.rb', line 5 def procline_version @version ||= begin # If we've built a custom version, this should show the custom version. Gem.loaded_specs['resqued'].version.to_s rescue Object # If this isn't a gem, fall back to the version in resqued/version.rb. Resqued::VERSION end "resqued-#{@version}" end |