class Metamagic::CustomTag
Attributes
render_proc[R]
Public Class Methods
new(context, key, value, render_proc)
click to toggle source
Calls superclass method
Metamagic::Tag::new
# File lib/metamagic/tags/custom_tag.rb, line 5 def initialize(context, key, value, render_proc) super(context, key, value) @render_proc = render_proc end
Public Instance Methods
remove_prefix?()
click to toggle source
# File lib/metamagic/tags/custom_tag.rb, line 10 def remove_prefix? false end
to_html()
click to toggle source
# File lib/metamagic/tags/custom_tag.rb, line 14 def to_html instance_exec key, interpolated_values, &render_proc end