Sha256: 4b2c2ca92ed871ea660d8ef3d078e3910c50a84bb9775d395b659a4ef2dcfe98

Contents?: true

Size: 282 Bytes

Versions: 1

Compression:

Stored size: 282 Bytes

Contents

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

      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-photo-gallery-0.1.2 lib/refinery/photo_gallery/version.rb