Sha256: c41ca77183368c577d3392f887139ff0f27fb127a1e181ed09400c7801b026ef

Contents?: true

Size: 456 Bytes

Versions: 1

Compression:

Stored size: 456 Bytes

Contents

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}'." if $DBG
    Kernel.require 'part/' + name + '/run.rb'
  end

end

end

# * George Moschovitis <gm@navel.gr>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nitro-0.30.0 lib/nitro/part.rb