org.kohsuke.stapler.jelly.jruby.erb
Class ERbLanguage

java.lang.Object
  extended by org.kohsuke.stapler.jelly.jruby.RubyTemplateLanguage
      extended by org.kohsuke.stapler.jelly.jruby.erb.ERbLanguage

@MetaInfServices
public class ERbLanguage
extends RubyTemplateLanguage

Author:
Kohsuke Kawaguchi

Constructor Summary
ERbLanguage()
           
 
Method Summary
protected  RubyTemplateContainer createContainer(org.jruby.embed.ScriptingContainer jruby)
          Called to set up this template language binding on the specified scripting container.
protected  String getScriptExtension()
          Defines the file extension, like ".erb", that designates this kind of view type.
protected  Class<ERbClassTearOff> getTearOffClass()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERbLanguage

public ERbLanguage()
Method Detail

getScriptExtension

protected String getScriptExtension()
Description copied from class: RubyTemplateLanguage
Defines the file extension, like ".erb", that designates this kind of view type.

Specified by:
getScriptExtension in class RubyTemplateLanguage

getTearOffClass

protected Class<ERbClassTearOff> getTearOffClass()
Specified by:
getTearOffClass in class RubyTemplateLanguage

createContainer

protected RubyTemplateContainer createContainer(org.jruby.embed.ScriptingContainer jruby)
Description copied from class: RubyTemplateLanguage
Called to set up this template language binding on the specified scripting container.

Specified by:
createContainer in class RubyTemplateLanguage


Copyright © 2011. All Rights Reserved.