Sha256: 4270a1f4fb70dac953ffd76f1f0d74c11cbf2903ac8c9f595a0d37e10264071f

Contents?: true

Size: 1.01 KB

Versions: 1

Compression:

Stored size: 1.01 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 :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
  
  VERSION = '0.7.0'
  
  class << self
    def site
      @site ||= Site.new
    end
  
    def site=(site)
      @site = site
    end
    
    def config
      site.config
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
massimo-0.7.0 lib/massimo.rb