class Utils::ProbeServer
def commands
def commands annotations = self.class.doc_annotations.sort_by(&:first) max_size = annotations.map { |a| a.first.size }.max output_message annotations.map { |n, v| "#{n.to_s.ljust(max_size + 1)}#{v}" } end
def commands annotations = self.class.doc_annotations.sort_by(&:first) max_size = annotations.map { |a| a.first.size }.max output_message annotations.map { |n, v| "#{n.to_s.ljust(max_size + 1)}#{v}" } end