Sha256: 577ddd408c25109b35a5bc647c608bbbfc2cc9e4e7e1d5cea6580abb453399fc
Contents?: true
Size: 210 Bytes
Versions: 39
Compression:
Stored size: 210 Bytes
Contents
def with_enabled_no_contracts no_contracts = ENV["NO_CONTRACTS"] ENV["NO_CONTRACTS"] = "true" yield ENV["NO_CONTRACTS"] = no_contracts end def ruby_version RUBY_VERSION.match(/\d+\.\d+/)[0].to_f end
Version data entries
39 entries across 30 versions & 7 rubygems