module Nitro # A part is a module of reusable functionality encapsulated as # a mini site/app. You can require (include) multiple parts in # your application. A part is in essence a high level component. class Part # Require (include) a part in the current application. def self.require(name) Logger.debug "Requiring part '#{name}'." Kernel.require "part/#{name}/run.rb" end end end # * George Moschovitis