version.rb 282 Bytes
Newer Older
Martin Markech's avatar
Martin Markech committed
1
2
3
4
module Refinery
  module PhotoGallery
    class Version
      @major = 0
5
      @minor = 4
6
      @tiny  = '0'
Martin Markech's avatar
Martin Markech committed
7
8
9
10
11
12
13
14
15
16

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

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