lib/phlex/rails/sgml/overrides.rb in phlex-rails-0.10.0 vs lib/phlex/rails/sgml/overrides.rb in phlex-rails-1.0.0
- old
+ new
@@ -58,20 +58,21 @@
def capture
super&.html_safe
end
+ # @api private
def __text__(content)
case content
when ActiveSupport::SafeBuffer
@_context.target << content
else
super
end
end
- # @api experimental
+ # @api private
def await(task)
if task.is_a?(ActiveRecord::Relation)
flush unless task.loaded?
task
@@ -79,9 +80,10 @@
super
end
end
# Trick ViewComponent into thinking we're a ViewComponent to fix rendering output
+ # @api private
def set_original_view_context(view_context)
end
end
end
end