Sha256: 707584e15ea389510a69f58d2755c0428975edb555427ebdce42a5d892cbac55

Contents?: true

Size: 343 Bytes

Versions: 1

Compression:

Stored size: 343 Bytes

Contents

module VCR
  extend self

  def version
    @version ||= begin
      string = '1.7.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.7.0 lib/vcr/version.rb