Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
wax
main
Top Level Namespace
Wax
Assets
CacheEntry
CLI
Command
Commands
AI
DeleteFiles
FetchFileContents
FileData
Handler
WriteFiles
File
Config
Generate
Generator
Serve
Config
AI
Context
Generators
App
ShardConfig
Dependency
Target
Commands
Component
Generator
Migration
Add
AddType
Column
Index
Type
Type
Model
Route
Subcommand
Property
Generated using Crystal 1.14.0
2024-12-03 13:12:36 UTC
class
Wax::
Generators::
Route
Wax::Generators::Route
Wax::Generators::Generator
Reference
Object
Defined in:
generators/route.cr
Constructors
.new
(args : Array(String))
.new
(name : String)
Class Method Summary
.description
Instance Method Summary
#call
#name
: String
#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
(args : Array(String))
#
[
View source
]
def self.
new
(name : String)
#
[
View source
]
Class Method Detail
def self.
description
#
[
View source
]
Instance Method Detail
def
call
#
[
View source
]
def
name
: String
#
[
View source
]
def
type
: String
#