module Ruby2JS::Haml::Ruby2JS
Public Instance Methods
render(text)
click to toggle source
# File lib/ruby2js/haml.rb, line 22 def render(text) converted = Ruby2JS.convert(text).to_s "<script type='text/javascript'>\n#{converted}\n</script>" end