Sha256: 3fe3add40043383f5635eb860c80e65cba7d7d8913c53a5a1f4bd4f875424ed4
Contents?: true
Size: 474 Bytes
Versions: 3
Compression:
Stored size: 474 Bytes
Contents
# frozen_string_literal: true module Sbmt module Pact module Matchers module V3 class Decimal < Sbmt::Pact::Matchers::Base def initialize(template) raise MatcherInitializationError, "#{self.class}: #{template} should be an instance of Float" unless template.is_a?(Float) super(spec_version: Sbmt::Pact::Matchers::PACT_SPEC_V3, kind: "decimal", template: template) end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sbmt-pact-0.12.2 | lib/sbmt/pact/matchers/v3/decimal.rb |
sbmt-pact-0.12.1 | lib/sbmt/pact/matchers/v3/decimal.rb |
sbmt-pact-0.12.0 | lib/sbmt/pact/matchers/v3/decimal.rb |