Class: Class

Inherits:
Object
  • Object
show all
Defined in:
lib/tool_tailor.rb

Instance Method Summary collapse

Instance Method Details

#to_json_schemaString

Converts a Class to a JSON schema.

Returns:

  • (String)

    The JSON schema representation of the class’s initialize method.



170
171
172
# File 'lib/tool_tailor.rb', line 170

def to_json_schema
  ToolTailor.convert(self)
end