Sha256: 1179768cb11f42468af9613ec9fbd9823ce6673750be276ed5171069b2f87e16

Contents?: true

Size: 378 Bytes

Versions: 2

Compression:

Stored size: 378 Bytes

Contents

# typed: false
# frozen_string_literal: true

module Workato
  module Extension
    module Currency
      def to_currency(options = {})
        ActiveSupport::NumberHelper::NumberToCurrencyConverter(self, options)
      end
    end
  end
end

String.include(Workato::Extension::Currency)
Integer.include(Workato::Extension::Currency)
Float.include(Workato::Extension::Currency)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workato-connector-sdk-1.0.3 lib/workato/extension/currency.rb
workato-connector-sdk-1.0.2 lib/workato/extension/currency.rb