aboutsummaryrefslogtreecommitdiffstats
path: root/lib/refinery/blog/version.rb
blob: 25ffc2694186af92f105a3aa77c842327c17545a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module Refinery
  module Blog
    class Version
      @major = 2
      @minor = 1 
      @tiny  = 0
      @build = 'dev'

      class << self
        attr_reader :major, :minor, :tiny, :build

        def to_s
          [@major, @minor, @tiny, @build].compact.join('.')
        end
      end
    end
  end
end