Open Sidebar
Close Sidebar
money
master
BigDecimal
Fiber
Money
Allocate
Arithmetic
Casting
Constructors
Context
Currency
Enumeration
Exchange
SingleCurrency
Loader
Rate
RateProvider
AbstractAPI
Coinlayer
Compound
CurrencyAPI
CurrencyBeacon
CurrencyLayer
ECB
ExchangeRateAPI
Fixer
FloatRates
FreecurrencyAPI
FXFeed
FXRatesAPI
HTTP
MetalpriceAPI
MoneyMorph
Null
OpenExchangeRates
UniRateAPI
RateStore
File
Memory
Type
DifferentCurrencyError
Error
Exchange
Formatting
Mixin
InitializeWith
Parse
Error
RateProviderError
RateProviderRequestError
RateProviderRequiredOptionError
Rounding
UndefinedSmallestDenominationError
UnknownCurrencyError
UnknownRateError
UnknownRateProviderError
Number
String
module
Money::
Mixin::
InitializeWith
Overview
Maps passed
attributes
to instance variables.
NOTE
Magic inside!
Direct including types
Money::Currency::RateProvider
Defined in:
money/mixins/initialize_with.cr
Instance Method Summary
#initialize_with
(attributes)
#initialize_with
(**attributes)
Instance Method Detail
def
initialize_with
(attributes)
#
[
View source
]
def
initialize_with
(**attributes)
#
[
View source
]