Class: Fortitude::Tags::PartialTagPlaceholder

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.instanceObject


5
6
7
# File 'lib/fortitude/tags/partial_tag_placeholder.rb', line 5

def instance
  @instance ||= new
end

Instance Method Details

#nameObject


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

def name
  :_fortitude_partial_placeholder
end

#validate_can_enclose!(widget, tag_object) ⇒ Object


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

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