Sha256: a44b459862d4b6a915c76ab7c13b196f66a966b7524061d51a667ac7df219930

Contents?: true

Size: 1.03 KB

Versions: 4

Compression:

Stored size: 1.03 KB

Contents

module Massimo
  autoload :Config,     'massimo/config'
  autoload :Helpers,    'massimo/helpers'
  autoload :Javascript, 'massimo/javascript'
  autoload :Page,       'massimo/page'
  autoload :Resource,   'massimo/resource'
  autoload :Server,     'massimo/server'
  autoload :Site,       'massimo/site'
  autoload :Stylesheet, 'massimo/stylesheet'
  autoload :UI,         'massimo/ui'
  autoload :Version,    'massimo/version'
  autoload :View,       'massimo/view'
  autoload :Watcher,    'massimo/watcher'
  
  module Commands
    autoload :Base,     'massimo/commands/base'
    autoload :Build,    'massimo/commands/build'
    autoload :Generate, 'massimo/commands/generate'
    autoload :Help,     'massimo/commands/help'
    autoload :Server,   'massimo/commands/server'
    autoload :Version,  'massimo/commands/version'
    autoload :Watch,    'massimo/commands/watch'
  end
  
  class << self
    def site
      @site ||= Site.new
    end
  
    def site=(site)
      @site = site
    end
    
    def config
      site.config
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
massimo-0.7.5 lib/massimo.rb
massimo-0.7.4 lib/massimo.rb
massimo-0.7.3 lib/massimo.rb
massimo-0.7.2 lib/massimo.rb