Sha256: ba679d4ed3712643dacc8a58ceac458d29125bed87a4013837c4a02e7cabde33
Contents?: true
Size: 646 Bytes
Versions: 2
Compression:
Stored size: 646 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 = +'6.1.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.freeze end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
fluent-plugin-google-cloud-logging-on-prem-0.1.0 | vendor/ruby/3.1.0/gems/vcr-6.1.0/lib/vcr/version.rb |
vcr-6.1.0 | lib/vcr/version.rb |