Class MethodHelper
- java.lang.Object
-
- com.github.jknack.handlebars.helper.MethodHelper
-
-
Constructor Summary
Constructors Constructor Description MethodHelper(java.lang.reflect.Method method, java.lang.Object source)Creates a newMethodHelper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectapply(java.lang.Object context, Options options)Apply the helper to the context.
-
-
-
Constructor Detail
-
MethodHelper
public MethodHelper(java.lang.reflect.Method method, java.lang.Object source)Creates a newMethodHelper.- Parameters:
method- The method to invoke. Required.source- The source or instance object. Might be null.
-
-