Sha256: 4b61e250c869173badbcfe8c9a16dfdb4ab02dfed357f965481585b8862f59d3

Contents?: true

Size: 446 Bytes

Versions: 7

Compression:

Stored size: 446 Bytes

Contents

# frozen_string_literal: true

module Pakyow
  class Application
    module Helpers
      module Presenter
        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
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pakyow-presenter-1.0.6 lib/pakyow/application/helpers/presenter/rendering.rb
pakyow-presenter-1.0.5 lib/pakyow/application/helpers/presenter/rendering.rb
pakyow-presenter-1.0.4 lib/pakyow/application/helpers/presenter/rendering.rb
pakyow-presenter-1.0.3 lib/pakyow/application/helpers/presenter/rendering.rb
pakyow-presenter-1.0.2 lib/pakyow/application/helpers/presenter/rendering.rb
pakyow-presenter-1.0.1 lib/pakyow/application/helpers/presenter/rendering.rb
pakyow-presenter-1.0.0 lib/pakyow/application/helpers/presenter/rendering.rb