module Ramaze::View::Gestalt

View adapter that allows you to use Ramaze::Gestalt in your views. See the documentation of Ramaze::Gestalt for more information.

@see Ramaze::Gestalt

Public Class Methods

call(action, string) click to toggle source
# File lib/ramaze/view/gestalt.rb, line 12
def self.call(action, string)
  string = action.instance.instance_eval(string) if action.view
  html = [string].join

  return html, 'text/html'
end