引数にデフォルト値を入れることで対処するのが普通。こんな具合。

def func(a=false)
if a then
print("func(a)\n")
else
print("func()\n")
end
end