Class: GenerativeUI::Attributes::Schema
- Inherits:
-
RubyLLM::Schema
- Object
- RubyLLM::Schema
- GenerativeUI::Attributes::Schema
- Extended by:
- LocalSchemaBuilders, StructuralDsl
- Defined in:
- lib/generative_ui/attributes.rb
Class Method Summary collapse
Methods included from StructuralDsl
many_components, one_component
Methods included from LocalSchemaBuilders
Class Method Details
.create(&block) ⇒ Object
70 71 72 |
# File 'lib/generative_ui/attributes.rb', line 70 def create(&block) Class.new(self).tap { |schema_class| schema_class.class_eval(&block) } end |