Sha256: 1e3be8a7d2c7fbd70d2f5cc78d8f054a63aae797cf1b7e6779ff7aa5676d7d28

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

module Refinery
  class Version
    @major = 4
    @minor = 0
    @tiny  = 1
    @build = nil

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

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

      def required_ruby_version
        '>= 2.2.2'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
refinerycms-core-4.0.1 lib/refinery/version.rb