Sha256: daaa31ce225ab55b159964496584a78dd74b12b83233436c8667b47c9ce7fe59

Contents?: true

Size: 271 Bytes

Versions: 1

Compression:

Stored size: 271 Bytes

Contents

module Refinery
  module Blog
    class Version
      @major = 2
      @minor = 0
      @tiny  = 0

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
refinerycms-blog-2.0.0 lib/refinery/blog/version.rb