class Docopt::Tokens

Defined in:

docopt.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_array(arr : Array(String)) : Tokens #

[View source]
def self.from_pattern(source : String) : Tokens #

[View source]
def self.new(error : DocoptExit.class | DocoptLanguageError.class = DocoptExit) #

[View source]

Instance Method Detail

def current : String | Nil #

[View source]
def error : Docopt::DocoptException.class #

[View source]
def error=(error : ::Docopt::DocoptException.class) #

[View source]
def move : String | Nil #

[View source]