Lang::Routine
Inherits Reference < Object
Constructors
new(name : String)
SourceInstance methods
arguments
Sourcearguments=(arguments : Array(String))
Sourcecommands
Sourcecommands=(commands : Array(Command))
Sourceinspect
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.
name
Sourcename=(name : String)
Sourceto_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.