Class: Arrow::Template::CallDirective
- Inherits:
-
AttributeDirective
- Object
- Arrow::Object
- Node
- Directive
- AttributeDirective
- Arrow::Template::CallDirective
- Defined in:
- lib/arrow/template/call.rb
Overview
The Arrow::Template::CallDirective class, a derivative of Arrow::Template::AttributeDirective. This is the class which defines the behaviour of the ‘call’ template directive.
Syntax
<?call foo.to_html ?> <?call var.any(other_var.method).chain ?> <?call "$%0.2f" % var.any(other_var.method).chain ?>
Authors
Michael Granger
Please see the file LICENSE in the top-level directory for licensing details.
Direct Known Subclasses
EscapeDirective, PrettyPrintDirective, TimeDeltaDirective, URLEncodeDirective
Constant Summary
- SVNRev =
SVN Revision
%q$Rev$
- SVNId =
SVN Id
%q$Id$
Constants inherited from AttributeDirective
Constants inherited from Directive
Constants inherited from Node
Constants included from Arrow::HTMLUtilities
ARRAY_HTML_CONTAINER, HASH_HTML_CONTAINER, HASH_PAIR_HTML, IMMEDIATE_OBJECT_HTML_CONTAINER, IVAR_HTML_FRAGMENT, OBJECT_HTML_CONTAINER, THREAD_DUMP_KEY
Method Summary
Methods inherited from AttributeDirective
allows_format?, #before_rendering, #build_rendering_proc, #call_methodchain, #initialize, #inspect, #is_rendering_node?, #parse_directive_contents, #render, #render_contents, #to_html
Methods inherited from Directive
create, derivativeDirs, #initialize, #inspect, #parse_directive_contents, #render, #to_html
Methods inherited from Node
#add_to_template, #css_class, #initialize, #inspect, #is_rendering_node?, #render, #to_a, #to_html, #to_s
Methods included from Arrow::HTMLUtilities
#escape_html, #make_html_for_object, #make_object_html_wrapper
Methods inherited from Arrow::Object
deprecate_class_method, deprecate_method, inherited
Methods included from Arrow::Loggable
Constructor Details
This class inherits a constructor from Arrow::Template::AttributeDirective