Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
wax
main
Top Level Namespace
Wax
Assets
CacheEntry
CLI
Command
Commands
Generate
Generator
Serve
Generators
App
ShardConfig
Dependency
Target
Commands
Component
Generator
Migration
Add
AddType
Column
Index
Type
Type
Model
Route
Subcommand
Generated using Crystal 1.12.2
2024-08-10 08:03:34 UTC
class
Wax::
Generators::
Migration
Wax::Generators::Migration
Wax::Generators::Generator
Reference
Object
Defined in:
generators/migration.cr
Constructors
.new
(type : String, args : Array(String))
.new
(args : Array(String))
Class Method Summary
.description
Instance Method Summary
#args
: Array(String)
#call
#type
: String
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
(type : String, args : Array(String))
#
[
View source
]
def self.
new
(args : Array(String))
#
[
View source
]
Class Method Detail
def self.
description
#
[
View source
]
Instance Method Detail
def
args
: Array(String)
#
[
View source
]
def
call
#
[
View source
]
def
type
: String
#
[
View source
]