class OasRails::YARD::OasRailsFactory

def extract_name_code_and_hash(text)

Returns:
  • (Array) - An array containing the name, code, and schema.

Parameters:
  • text (String) -- The text to parse.
def extract_name_code_and_hash(text)
  name, code = extract_text_and_parentheses_content(text)
  _, type, = extract_description_type_and_content(text)
  hash = eval_content(type)
  [name, code, hash]
end