This is about how to deal with the problem that 0 is omitted and 1
is output when trying to CSV output a numerical value such as 001
that starts with 0.
'="001"'
If it is a fixed value, this is not a problem, but if it is a variable, the expression is not expanded, so do as follows.
#Note that it is enclosed in double quotes
%Q{="#{hoge}"}
Rubocop compliant,
#Note that it is enclosed in double quotes
%(="#{hoge}")
Recommended Posts