Class: Fortitude::Tags::RenderWidgetPlaceholder

Inherits:
Object
  • Object
show all
Defined in:
lib/fortitude/tags/render_widget_placeholder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(render_args) ⇒ RenderWidgetPlaceholder

Returns a new instance of RenderWidgetPlaceholder.


6
7
8
# File 'lib/fortitude/tags/render_widget_placeholder.rb', line 6

def initialize(render_args)
  @render_args = render_args
end

Instance Attribute Details

#render_argsObject (readonly)

Returns the value of attribute render_args


4
5
6
# File 'lib/fortitude/tags/render_widget_placeholder.rb', line 4

def render_args
  @render_args
end

Instance Method Details

#nameObject


10
11
12
# File 'lib/fortitude/tags/render_widget_placeholder.rb', line 10

def name
  :_fortitude_render_widget_placeholder
end

#validate_can_enclose!(widget, tag_object) ⇒ Object


14
15
16
# File 'lib/fortitude/tags/render_widget_placeholder.rb', line 14

def validate_can_enclose!(widget, tag_object)
  # nothing here, always OK
end