Sha256: 6d5e4a240ed3e3e2ac284bfdba8281a432120feb51e9d8cd52205cd50f3f75f0
Contents?: true
Size: 638 Bytes
Versions: 2
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.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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
social_url_stats-0.0.1 | vendor/ruby/1.9.1/gems/vcr-2.8.0/lib/vcr/version.rb |
vcr-2.8.0 | lib/vcr/version.rb |