class Sam::Args

Defined in:

sam/args.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(args : Array(String)) #

[View source]
def self.new(_named_args : ALLOWED_HASH, _arr = [] of ALLOWED_TYPES) #

[View source]
def self.new #

[View source]

Instance Method Detail

def [](index : Int32) #

[View source]
def [](name : String | Symbol) #

[View source]
def []?(index : Int32) : ALLOWED_TYPES? #

[View source]
def []?(name : String | Symbol) : ALLOWED_TYPES? #

[View source]
def named : Hash(String, Float64 | Int32 | String) #

[View source]
def raw : Array(Float64 | Int32 | String) #

[View source]
def size #

[View source]