Treat this like attr accessor, so

    def to_format
      @to_format ||= ...
    end