From: Yukihiro Matsumoto Date: 2010-05-12T16:56:21+09:00 Subject: [ruby-core:30176] Re: [Problem] DATA and __END__ in a loaded rb file Hi, In message "Re: [ruby-core:30175] [Problem] DATA and __END__ in a loaded rb file" on Wed, 12 May 2010 16:33:57 +0900, Charles Cui writes: |how to get global constant DATA in file ,if a.rb is loaded by b.rb. |when b.rb is exec by Ruby,even if the DATA is used in a.rb,infact the DATA |is from b.rb, |because a.rb is loaded by b.rb. DATA is only available from the script file. matz.