Sha256: 4dedb4593e1ab3d353f6e54b23911deb8f2598b4dc629591ddfa7e94970b60a5

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 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}'."
    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.29.0 lib/nitro/part.rb