You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context lists and context hashes only work with Ruby config files. Attempting to use a JSON, YAML, or TOML file or load from a hash results in an error:
The issue is in the from_hash method. It attempts to convert a hash into executable Ruby code and then executes it. Unfortunately, this doesn't work for context lists and hashes. Here's what it produces from the sample config above:
tests[{"x"=>7},{"x"=>14}]
This seems like it might work but, unfortunately, config_context_list and config_context_hash do not create methods for the plural symbol that take arguments.
The text was updated successfully, but these errors were encountered:
Context lists and context hashes only work with Ruby config files. Attempting to use a JSON, YAML, or TOML file or load from a hash results in an error:
The issue is in the from_hash method. It attempts to convert a hash into executable Ruby code and then executes it. Unfortunately, this doesn't work for context lists and hashes. Here's what it produces from the sample config above:
This seems like it might work but, unfortunately,
config_context_list
andconfig_context_hash
do not create methods for the plural symbol that take arguments.The text was updated successfully, but these errors were encountered: