module Money::Parse
Defined in:
money/money/parse.crConstant Summary
-
PATTERNS =
{/(?<sign>\+|\-)?(?<amount>\d+(?:[.,]\d+)?)\s*(?<symbol>[^0-9,.]+)/, /(?<sign>\+|\-)?(?<symbol>[^0-9,.]+)\s*(?<amount>\d+(?:[.,]\d+)?)/}
Instance Method Summary
- #parse(str : String, allow_ambiguous = true) : Money
- #parse?(str : String, allow_ambiguous = true) : Money | Nil