class

Lang::Routine

Inherits Reference < Object

Constructors

new(name : String)
Source

Instance methods

arguments
Source
arguments=(arguments : Array(String))
Source
commands
Source
commands=(commands : Array(Command))
Source
inspect

Returns an unambiguous and information-rich string representation of this object, typically intended for developers.

This method should usually not be overridden. It delegates to #inspect(IO) which can be overridden for custom implementations.

Also see #to_s.

Source
name
Source
name=(name : String)
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source