module Marginalia
def self.with_annotation(comment, &block)
def self.with_annotation(comment, &block) Marginalia::Comment.inline_annotations.push(comment) block.call if block.present? ensure Marginalia::Comment.inline_annotations.pop end
def self.with_annotation(comment, &block) Marginalia::Comment.inline_annotations.push(comment) block.call if block.present? ensure Marginalia::Comment.inline_annotations.pop end