Sha256: c029a2f52dd11beebc8299cb9b8a6a281d34fdb1b397827b61ffe539adeafb67
Contents?: true
Size: 277 Bytes
Versions: 2
Compression:
Stored size: 277 Bytes
Contents
module CQL module HelperMethods def cuke_modeler?(*versions) versions.include?(cuke_modeler_major_version) end def cuke_modeler_major_version Gem.loaded_specs['cuke_modeler'].version.version.match(/^(\d+)\./)[1].to_i end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cql-1.7.0 | testing/helper_methods.rb |
cql-1.6.0 | testing/helper_methods.rb |