Sha256: 51c20de0e4ac801aedebc533ba4c89dd92412adda92a139648b53e29dc86c3c2

Contents?: true

Size: 344 Bytes

Versions: 1

Compression:

Stored size: 344 Bytes

Contents

module VCR
  extend self

  def version
    @version ||= begin
      string = '1.10.3'

      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-1.10.3 lib/vcr/version.rb