結論
以下のとおりです。
[1] pry(main)> foo_bar = 'hoge' => "hoge"
[2] pry(main)> foo-bar = 'hoge' NameError: undefined local variable or method `foo' for main:Object from (pry):2:in `__pry__'
以下のとおりです。
[1] pry(main)> foo_bar = 'hoge' => "hoge"
[2] pry(main)> foo-bar = 'hoge' NameError: undefined local variable or method `foo' for main:Object from (pry):2:in `__pry__'