We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 898dd5a commit 4aa2fa2Copy full SHA for 4aa2fa2
1 file changed
lib/code/object/function.rb
@@ -56,17 +56,17 @@ def code_call(*arguments, **globals)
56
.raw
57
.select { |code_argument| code_argument.is_a?(Dictionary) }
58
.detect do |code_dictionary|
59
- code_dictionary.code_has_key?(code_parameter.code_name).truthy?
+ code_dictionary.code_has_key?(
60
+ code_parameter.code_name
61
+ ).truthy?
62
end
63
&.code_get(code_parameter.code_name)
64
.to_code
65
else
66
code_arguments.raw[index].to_code
67
68
- if code_argument.nothing?
- code_argument = code_parameter.code_default
69
- end
+ code_argument = code_parameter.code_default if code_argument.nothing?
70
71
code_context.code_set(code_parameter.code_name, code_argument)
72
0 commit comments