Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
icr
v0.9.0
Top Level Namespace
Icr
Command
CommandStack
Console
Executer
ExecutionResult
Highlighter
Highlight
SyntaxCheckResult
Readline
Built with Crystal 1.9.2
2023-10-08 10:31:56 UTC
class
Icr::Command
Icr::Command
Reference
Object
Overview
Command represents single user's input. Properties:
value - actual input
type - type of input(require, class, module, method, regular, etc)
Defined in:
icr/command.cr
Constructors
.new
(type : Symbol, value : String)
Instance Method Summary
#type
: Symbol
#value
: String
Constructor Detail
def self.
new
(type : Symbol, value : String)
#
[
View source
]
Instance Method Detail
def
type
: Symbol
#
[
View source
]
def
value
: String
#
[
View source
]