Sha256: c6d8a4cba86b4e7ac00157979ac98e97ba79dc67838e5898d14ba7da0c48e79b

Contents?: true

Size: 392 Bytes

Versions: 5

Compression:

Stored size: 392 Bytes

Contents

# frozen_string_literal: true

module Pakyow
  module Presenter
    module Helpers
      module Rendering
        def render(view_path = nil, as: nil, modes: [:default])
          @connection.app.isolated(:Renderer).render(
            @connection,
            view_path: view_path,
            presenter_path: as,
            modes: modes
          )
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pakyow-presenter-1.0.0.rc5 lib/pakyow/presenter/helpers/rendering.rb
pakyow-presenter-1.0.0.rc4 lib/pakyow/presenter/helpers/rendering.rb
pakyow-presenter-1.0.0.rc3 lib/pakyow/presenter/helpers/rendering.rb
pakyow-presenter-1.0.0.rc2 lib/pakyow/presenter/helpers/rendering.rb
pakyow-presenter-1.0.0.rc1 lib/pakyow/presenter/helpers/rendering.rb