Mega Code Archive

 
Categories / Ruby / Language Basics
 

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'