Sha256: cdfd82aa1eb15e0809acb021c8c2c1deb7a6fc4b5dce37f63c374afa5309370e

Contents?: true

Size: 343 Bytes

Versions: 1

Compression:

Stored size: 343 Bytes

Contents

module VCR
  extend self

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

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