test/component_embedded_ruby_test.rb
# override render_in because crb doesn't care about view context yet
override render_in because crb doesn't care about view context yet
override render_in because crb doesn ' t care about view context yet
def render_in
      content = block_given? ? yield(self) : ""
      "<div data-capitalize=\"#{@capitalize}\">#{content&.upcase}</div>"
    end
def render_in content = block_given? ? yield ( self ) : "" "<div data-capitalize=\"#{@capitalize}\">#{content&.upcase}</div>" end
override render_in because crb doesn't care about view context yet
override render_in because crb doesn ' t care about view context yet