Module: Pakyow::Presenter::Renderable Private

Extended by:
Support::Extension
Defined in:
lib/pakyow/presenter/renderable.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#renderedObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



18
19
20
21
# File 'lib/pakyow/presenter/renderable.rb', line 18

def rendered
  @rendered = true
  halt
end

#rendered?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


23
24
25
# File 'lib/pakyow/presenter/renderable.rb', line 23

def rendered?
  @rendered == true
end