Module: LocoMotion::Patches::ViewComponent::SlotableDefaultPatch
- Defined in:
- lib/loco_motion/patches/view_component/slotable_default_patch.rb
Instance Method Summary collapse
-
#get_slot(slot_name) ⇒ Object
Override get_slot method.
Instance Method Details
#get_slot(slot_name) ⇒ Object
Override get_slot method
10 11 12 13 14 15 16 |
# File 'lib/loco_motion/patches/view_component/slotable_default_patch.rb', line 10 def get_slot(slot_name) # ensure content is loaded so slots will be defined content unless content_evaluated? # Call the original implementation super end |