Sha256: 39d904d30836a3bbed2d27c65842da13b23a1148e31fa177c2c706c9ecc99c79

Contents?: true

Size: 343 Bytes

Versions: 1

Compression:

Stored size: 343 Bytes

Contents

module VCR
  extend self

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