Method: Deku::Context#render_string

Defined in:
lib/deku/context.rb

#render_string(application) ⇒ String

Returns string rendering of the application tree.

Returns:

  • (String)

    string rendering of the application tree



18
19
20
# File 'lib/deku/context.rb', line 18

def render_string application
  @deku['renderString'].call application.app
end