class Wax::Generators::Model

Defined in:

generators/model.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Wax::Generators::Generator

call call, type : String type

Class methods inherited from class Wax::Generators::Generator

for(type : String) for

Instance methods inherited from module Wax::Generators::Commands

error(message : String, exit_code code = 1) error, file(path, body, *, executable = false) : Nil file

Constructor Detail

def self.new(name : String, properties : Array(Property)) #

[View source]
def self.new(properties : Array(String)) #

[View source]

Class Method Detail

def self.additional_modifiers #

[View source]
def self.description #

[View source]
def self.valid_modifier?(modifier : String) #

[View source]
def self.valid_modifiers #

[View source]

Instance Method Detail

def call #

[View source]
def migration_files #

[View source]
def model_file #

[View source]
def model_name #

[View source]
def name : String #

[View source]
def plural_model_name #

[View source]
def plural_name #

[View source]
def properties : Array(Property) #

[View source]
def query_file #

[View source]
def table_name #

[View source]
def type : String #