Sha256: 3493ee82ef8321e1b75a18482472f0fe0ec43692f02bc404bf3eb91dae48e476

Contents?: true

Size: 1.03 KB

Versions: 16

Compression:

Stored size: 1.03 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 :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

16 entries across 16 versions & 1 rubygems

Version Path
lookbook-0.9.8 lib/lookbook.rb
lookbook-0.9.7 lib/lookbook.rb
lookbook-0.9.6 lib/lookbook.rb
lookbook-0.9.5 lib/lookbook.rb
lookbook-0.9.4 lib/lookbook.rb
lookbook-0.9.3 lib/lookbook.rb
lookbook-0.9.2 lib/lookbook.rb
lookbook-0.9.1 lib/lookbook.rb
lookbook-0.9.0 lib/lookbook.rb
lookbook-0.8.3 lib/lookbook.rb
lookbook-0.8.2 lib/lookbook.rb
lookbook-0.8.1 lib/lookbook.rb
lookbook-0.8.0 lib/lookbook.rb
lookbook-0.8.0.beta.0 lib/lookbook.rb
lookbook-0.7.4 lib/lookbook.rb
lookbook-0.7.3 lib/lookbook.rb