Skip to content

Upgrade gem to ruby 2.6  #4

@ck2000

Description

@ck2000

I am receiving some deprecating warnings with ruby 2.6.3 e.g.:

warning: BigDecimal.new is deprecated; use BigDecimal() method instead.

If I am running via rails console the following:

tax = Taxger::Lohnsteuer.calculate(2015, stkl: 1, lzz: 1, re4: 70_000 * 100)

Traceback (most recent call last):
        1: from (irb):5
NoMethodError (undefined method `divide' for 0.0:BigDecimal)
Did you mean?  divmod

Could someone please help me out with these two messages?
Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions