Sha256: 1330048225ac4adbc478c1958e307f6e5a008c91abf41f76cfa24b6d34d43a99

Contents?: true

Size: 1.07 KB

Versions: 7

Compression:

Stored size: 1.07 KB

Contents

require "active_support/dependencies/autoload"
require "lookbook/engine"
require "lookbook/version"

module Lookbook
  extend ActiveSupport::Autoload

  autoload :Error, "lookbook/error"
  autoload :Utils, "lookbook/utils"
  autoload :Lang, "lookbook/lang"
  autoload :Params, "lookbook/params"
  autoload :Page, "lookbook/page"
  autoload :PageCollection, "lookbook/page_collection"
  autoload :Features, "lookbook/features"
  autoload :Collection, "lookbook/collection"
  autoload :Parser, "lookbook/parser"
  autoload :Preview, "lookbook/preview"
  autoload :PreviewCollection, "lookbook/preview_collection"
  autoload :PreviewController, "lookbook/preview_controller"
  autoload :PreviewExample, "lookbook/preview_example"
  autoload :PreviewGroup, "lookbook/preview_group"
  autoload :CodeInspector, "lookbook/code_inspector"
  autoload :NullLogger, "lookbook/null_logger"
  autoload :CodeFormatter, "lookbook/code_formatter"
  autoload :Markdown, "lookbook/markdown"

  class << self
    include Utils

    def previews
      Preview.all
    end

    def pages
      Page.all
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
lookbook-0.7.2 lib/lookbook.rb
lookbook-0.7.2.beta.5 lib/lookbook.rb
lookbook-0.7.2.beta.4 lib/lookbook.rb
lookbook-0.7.2.beta.3 lib/lookbook.rb
lookbook-0.7.2.beta.2 lib/lookbook.rb
lookbook-0.7.2.beta.1 lib/lookbook.rb
lookbook-0.7.2.beta.0 lib/lookbook.rb