Sha256: 5169312fc11a09a4ea744438fa3875aba138ff2f9d69f42ba9d904e90ebad53f

Contents?: true

Size: 183 Bytes

Versions: 27

Compression:

Stored size: 183 Bytes

Contents

# frozen_string_literal: true
module ActiveMocker
  module Inspectable
    refine BigDecimal do
      def inspect
        "BigDecimal(\"%s\")" % to_s('F')
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
active_mocker-2.6.2 lib/active_mocker/inspectable/bigdecimal.rb
active_mocker-2.6.1.beta2 lib/active_mocker/inspectable/bigdecimal.rb
active_mocker-2.6.1.beta lib/active_mocker/inspectable/bigdecimal.rb
active_mocker-2.6.0 lib/active_mocker/inspectable/bigdecimal.rb
active_mocker-2.5.4 lib/active_mocker/inspectable/bigdecimal.rb
active_mocker-2.5.3 lib/active_mocker/inspectable/bigdecimal.rb
active_mocker-2.5.2 lib/active_mocker/inspectable/bigdecimal.rb
active_mocker-2.5.1 lib/active_mocker/inspectable/bigdecimal.rb
active_mocker-2.5.1.pre lib/active_mocker/inspectable/bigdecimal.rb
active_mocker-2.5.0 lib/active_mocker/inspectable/bigdecimal.rb
active_mocker-2.4.4 lib/active_mocker/inspectable/bigdecimal.rb
active_mocker-2.4.3 lib/active_mocker/inspectable/bigdecimal.rb
active_mocker-2.4.2 lib/active_mocker/inspectable/bigdecimal.rb
active_mocker-2.4.1 lib/active_mocker/inspectable/bigdecimal.rb
active_mocker-2.4.0 lib/active_mocker/inspectable/bigdecimal.rb
active_mocker-2.4.0.pre5 lib/active_mocker/inspectable/bigdecimal.rb
active_mocker-2.3.4 lib/active_mocker/inspectable/bigdecimal.rb
active_mocker-2.4.0.pre4 lib/active_mocker/inspectable/bigdecimal.rb
active_mocker-2.4.0.pre3 lib/active_mocker/inspectable/bigdecimal.rb
active_mocker-2.4.0.pre2 lib/active_mocker/inspectable/bigdecimal.rb