Sha256: 2e8fc9780facd7b19c3cb8638d79e5a78085b0085d15db8f5cd537e6d0007ff4

Contents?: true

Size: 349 Bytes

Versions: 1

Compression:

Stored size: 349 Bytes

Contents

module VCR
  extend self

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

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