class Oxide::Argument

Defined in:

oxide/argument.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : Oxide::Type, description : Nil | String = nil, deprecation_reason : Nil | String = nil, applied_directives : Array(AppliedDirective) = [] of AppliedDirective) #

[View source]
def self.new(type : Oxide::Type, default_value : Oxide::Argument::DefaultValue, description : Nil | String = nil, deprecation_reason : Nil | String = nil, applied_directives : Array(AppliedDirective) = [] of AppliedDirective) #

[View source]

Instance Method Detail

def applied_directives : Array(AppliedDirective) #

[View source]
def default_value : DefaultValue #

[View source]
def deprecated? #

[View source]
def deprecation_reason : String | Nil #

[View source]
def description : String | Nil #

[View source]
def has_default_value? : Bool #

[View source]
def type : Oxide::Type #

[View source]