I m new to Ruby and trying to get my head around some of its syntax.
为什么这一法典在例外条款中有所改动:
begin
puts Dir::delete
rescue ArgumentError => e
puts e.backtrace
end
但没有文号?
begin
puts Dir::delete
rescue ArgumentError => :e
puts e.backtrace
end