Test load command

2019-06-16 02:07栏目:技术创新

//Put this in a.rb:

puts 'Hello from a.rb'

//And put this in a file called b.rb:

load 'a'
puts 'Hello from b.rb'
load 'a'
puts 'Hello again from b.rb'

//Run with ruby b.rb

版权声明:本文由新浦京娱乐站_新浦京娱乐场官网_新浦京娱乐发布于技术创新,转载请注明出处:Test load command