Sha256: 192af0f06d1c6278a7e68af87e9680a74bc7bc26b30fcd21176b78d73456cd72
Contents?: true
Size: 638 Bytes
Versions: 3
Compression:
Stored size: 638 Bytes
Contents
module VCR extend self # @return [String] the current VCR version. # @note This string also has singleton methods: # # * `major` [Integer] The major version. # * `minor` [Integer] The minor version. # * `patch` [Integer] The patch version. # * `parts` [Array<Integer>] List of the version parts. def version @version ||= begin string = '2.9.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
3 entries across 3 versions & 3 rubygems
Version | Path |
---|---|
dwolla_swagger-1.0.6 | vendor/bundle/ruby/2.2.0/gems/vcr-2.9.3/lib/vcr/version.rb |
mustwin-vcr-2.9.3 | lib/vcr/version.rb |
vcr-2.9.3 | lib/vcr/version.rb |