class YARD::Handlers::Ruby::Legacy::ClassHandler

def parse_struct_subclass(klass, superclass_def)

def parse_struct_subclass(klass, superclass_def)
  # Bounce if there's no parens
  return unless superclass_def =~ /O?Struct\.new\((.*?)\)/
  members = extract_parameters(superclass_def)
  create_attributes(klass, members)
end