Sha256: a54d0dc3791b1dc575a4bb2205c6c0cbb25475d9fe71e0d2a264906ad1639daf

Contents?: true

Size: 271 Bytes

Versions: 1

Compression:

Stored size: 271 Bytes

Contents

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

      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.1 lib/refinery/blog/version.rb