We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb4ed4a commit 4696e88Copy full SHA for 4696e88
test-base/readers.rb
@@ -236,8 +236,8 @@ def read
236
check_event(:start_element, 'variable', event)
237
ensure_end_element('variable')
238
variables << Variable.new(*Variable.members.map { |m|
239
- value = event[1][m]
240
- m == 'hasChildren' ? value == "true" : value
+ value = event[1][m.to_s]
+ m.to_s == 'hasChildren' ? value == "true" : value
241
})
242
when :end_element
243
check_event(:end_element, 'variables', event)
0 commit comments