Module: PufferPages

Defined in:
lib/puffer_pages.rb,
lib/puffer_pages/engine.rb,
lib/puffer_pages/helpers.rb,
lib/puffer_pages/version.rb,
lib/puffer_pages/backends.rb,
lib/puffer_pages/handlers.rb,
lib/puffer_pages/renderer.rb,
lib/puffer_pages/migrations.rb,
lib/puffer_pages/handlers/base.rb,
lib/puffer_pages/handlers/yaml.rb,
lib/puffer_pages/liquid/backend.rb,
lib/puffer_pages/liquid/tracker.rb,
lib/puffer_pages/log_subscriber.rb,
lib/puffer_pages/rspec/matchers.rb,
lib/puffer_pages/liquid/tags/url.rb,
lib/puffer_pages/liquid/page_drop.rb,
lib/puffer_pages/liquid/tags/array.rb,
lib/puffer_pages/liquid/tags/image.rb,
lib/puffer_pages/liquid/tags/scope.rb,
lib/puffer_pages/liquid/tags/super.rb,
lib/puffer_pages/liquid/tags/yield.rb,
lib/puffer_pages/extensions/context.rb,
lib/puffer_pages/globalize/migrator.rb,
lib/puffer_pages/liquid/file_system.rb,
lib/puffer_pages/liquid/tags/assets.rb,
lib/puffer_pages/liquid/tags/helper.rb,
lib/puffer_pages/liquid/tags/render.rb,
lib/puffer_pages/extensions/renderer.rb,
lib/puffer_pages/liquid/tags/include.rb,
lib/puffer_pages/extensions/pagenator.rb,
lib/puffer_pages/liquid/tags/partials.rb,
lib/puffer_pages/liquid/tags/translate.rb,
lib/puffer_pages/liquid/tags/javascript.rb,
lib/puffer_pages/rspec/matchers/render_page.rb,
lib/puffer_pages/backends/models/mixins/localable.rb,
lib/puffer_pages/backends/models/mixins/importable.rb,
lib/puffer_pages/backends/models/mixins/renderable.rb,
lib/puffer_pages/backends/models/mixins/translatable.rb

Defined Under Namespace

Modules: Backends, Extensions, Globalize, Handlers, Helpers, Liquid, Migrations, Rspec Classes: DraftPage, Engine, ImportFailed, Layout, LayoutMissed, LayoutsBase, LogSubscriber, Origin, OriginsBase, Page, PagePart, PagesBase, PufferPagesError, Renderer, Snippet, SnippetsBase

Constant Summary collapse

VERSION =
"0.5.1"

Class Method Summary collapse

Class Method Details

.i18n_backendObject



41
42
43
# File 'lib/puffer_pages.rb', line 41

def self.i18n_backend
  @i18n_backend ||= PufferPages::Liquid::Backend.new
end

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (PufferPages)

    the object that the method was called on



37
38
39
# File 'lib/puffer_pages.rb', line 37

def self.setup
  yield self
end