File: version.rb

package info (click to toggle)
ruby-oauth2 0.9.3-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 236 kB
  • ctags: 84
  • sloc: ruby: 1,072; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 226 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module OAuth2
  class Version
    MAJOR = 0
    MINOR = 9
    PATCH = 3
    PRE = nil

    class << self
      # @return [String]
      def to_s
        [MAJOR, MINOR, PATCH, PRE].compact.join('.')
      end
    end
  end
end