[Doc] Fix a typo s/evel/eval/

This commit is contained in:
wonda-tea-coffee 2021-04-25 13:57:03 +09:00 committed by Samuel Williams
parent 4d5f15a556
commit e71bc56efe
Notes: git 2021-04-25 16:46:01 +09:00
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ rubyでは, 以下のプログラムはエラーになります.
パイルしてローカル変数を決定するからです. それに対し, irbは実行可能に
なる(式が閉じる)と自動的に評価しているからです. 上記の例では,
evel "foo = 0"
eval "foo = 0"
を行なった時点で評価を行ない, その時点で変数が定義されるため, 次式で
変数fooは定義されているからです.