Revision 44660439
src/cli/one_helper.rb | ||
---|---|---|
557 | 557 |
|
558 | 558 |
template<<"#{section.upcase}=[\n" |
559 | 559 |
template<<" #{name.upcase}_UNAME=\"#{user}\",\n" if user |
560 |
if object.match(/^\d$/) |
|
560 |
if object.match(/^\d+$/)
|
|
561 | 561 |
template<<" #{name.upcase}_ID=#{object}\n" |
562 | 562 |
else |
563 | 563 |
template<<" #{name.upcase}=\"#{object}\"\n" |
Also available in: Unified diff