time complexityMon, 06 Mar 2023

def paywall_placeholder @paywall_placeholder ||= if body_editor == 'verstka' Nokogiri::HTML(body).css('[data-anchor-value="paywall"]').first.to_s else Grid::Core::Post::PAYWALL_PLACEHOLDER end end

O(n)

Questions about programming?Chat with your personal AI assistant