Nested Inclusions : require « Language Basics « Ruby
- Ruby
- Language Basics
- require
Nested Inclusions
//assume a.rb contains the following:
require 'b'
//And b.rb contains the following:
require 'c'
//And c.rb contains the following:
def example
puts "Hello!"
end
//And d.rb contains the following:
require 'a'
Related examples in the same category