class Marten::CLI::Generator::Model::Context
- Marten::CLI::Generator::Model::Context
- Reference
- Object
Defined in:
marten/cli/generator/model/context.crConstructors
Instance Method Summary
- #app_config : Marten::Apps::Config
- #class_name
- #field_definitions : Array(Marten::CLI::Generator::Model::FieldDefinition)
- #model_filename
- #name : String
- #no_timestamps? : Bool
- #parent : String?
- #pk_field_definition : Marten::CLI::Generator::Model::FieldDefinition
Constructor Detail
def self.new(app_config : Apps::Config, name : String, field_definitions : Array(FieldDefinition), no_timestamps : Bool = false, parent : String | Nil = nil)
#