Sha256: 44f284efad3c51f75f74aeb7373f63278f918feaadec7830a8e94223c5764a88

Contents?: true

Size: 347 Bytes

Versions: 1

Compression:

Stored size: 347 Bytes

Contents

module VCR
  extend self

  def version
    @version ||= begin
      string = '2.0.0.rc1'

      def string.parts
        split('.').map { |p| p.to_i }
      end

      def string.major
        parts[0]
      end

      def string.minor
        parts[1]
      end

      def string.patch
        parts[2]
      end

      string
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vcr-2.0.0.rc1 lib/vcr/version.rb