Hello there!
It would be more convenient to add an alias to method Header.all to be Header.list_headers, or Header.list
Also, the comment/document would be more descriptive/obvious if it was
# List all available headers
# Get known header classes
# @return [Array<Class>]
def self.all
return @header_classes if @header_classes
@header_classes = @added_header_classes.values
end
Hello there! It would be more convenient to add an alias to method
Header.all
to beHeader.list_headers
, orHeader.list
Also, the comment/document would be more descriptive/obvious if it was