-
Notifications
You must be signed in to change notification settings - Fork 167
Open
Description
Here I have a custom function "test"
c = Dentaku::Calculator.new
c.add_function(:test, :string, ->(test_hash) { test_hash.values.join })
c.evaluate("TEST(abc)", { abc: { a: '1', b: '2', c: '3' }})
I would expect the result of this to be "123", but it is returning nil. In fact, it does not even enter the custom function if there is a hash parameter.
Is there something I am missing?
Metadata
Metadata
Assignees
Labels
No labels