Sha256: 339549ae2c0533f89e7a3dab90681a26447f616c304096b7851df792290239ef
Contents?: true
Size: 386 Bytes
Versions: 2
Compression:
Stored size: 386 Bytes
Contents
# typed: false # frozen_string_literal: true module Workato module Extension module Currency def to_currency(options = {}) ActiveSupport::NumberHelper::NumberToCurrencyConverter.convert(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.2.0 | lib/workato/extension/currency.rb |
workato-connector-sdk-1.1.0 | lib/workato/extension/currency.rb |