__FILE__とは、自分のファイル名を示す。foo.rbの中では、__FILE__は'foo.rb'となる。FILE is the "relative" path to the file from the current execution directory.You must use File.expand_path(FILE) to get the absolute path
Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technologies you use most. Learn more about Collectives Teams Q&A for work Connect and share knowledge wi...
__FILE__とは、自分のファイル名を示す。foo.rbの中では、__FILE__は'foo.rb'となる。FILE is the "relative" path to the file from the current execution directory.You must use File.expand_path(FILE) to get the absolute path
このブックマークにはスターがありません。
最初のスターをつけてみよう!
What does __FILE__ mean in Ruby?
Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technologies you use most. Learn more about Collectives Teams Q&A for work Connect and share knowledge wi...
3 人がブックマーク・2 件のコメント
\ コメントが サクサク読める アプリです /