DISQUS

Life is grand: Getting the SVN revision number in Ruby

  • Anatol Pomozov · 3 years ago
    I prefer another solution

    YAML.load(`svn info`)['Revision']

    It is as implemented in Cerberus
  • Paul Watson · 3 years ago
    That is very cool, thanks Anatol.