Sha256: 30e1ffb6f9e81e6e3d7d9baf2e5c1510d16f4a92e19b57b7dff22e6b1a035bd3

Contents?: true

Size: 239 Bytes

Versions: 28

Compression:

Stored size: 239 Bytes

Contents

# frozen_string_literal: true

require 'bigdecimal'

module ErpIntegration
  module Types
    class Decimal
      attr_reader :object

      def initialize(decimal_str)
        @object = BigDecimal(decimal_str)
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
erp_integration-0.61.0 lib/erp_integration/types/decimal.rb
erp_integration-0.58.0 lib/erp_integration/types/decimal.rb
erp_integration-0.60.0 lib/erp_integration/types/decimal.rb
erp_integration-0.59.0 lib/erp_integration/types/decimal.rb
erp_integration-0.57.0 lib/erp_integration/types/decimal.rb
erp_integration-0.56.0 lib/erp_integration/types/decimal.rb
erp_integration-0.55.0 lib/erp_integration/types/decimal.rb
erp_integration-0.54.0 lib/erp_integration/types/decimal.rb
erp_integration-0.53.1 lib/erp_integration/types/decimal.rb
erp_integration-0.53.0 lib/erp_integration/types/decimal.rb
erp_integration-0.52.0 lib/erp_integration/types/decimal.rb
erp_integration-0.50.0 lib/erp_integration/types/decimal.rb
erp_integration-0.49.0 lib/erp_integration/types/decimal.rb
erp_integration-0.48.0 lib/erp_integration/types/decimal.rb
erp_integration-0.43.0 lib/erp_integration/types/decimal.rb
erp_integration-0.42.0 lib/erp_integration/types/decimal.rb
erp_integration-0.41.0 lib/erp_integration/types/decimal.rb
erp_integration-0.40.0 lib/erp_integration/types/decimal.rb
erp_integration-0.39.0 lib/erp_integration/types/decimal.rb
erp_integration-0.38.0 lib/erp_integration/types/decimal.rb