:: multimethod
Methods
- ::(nti:NormalTypeInstance, k:Any) Source: stdlib.ngs:297
Get NormalType object field. Useful when calling method stored in an field. Example
myobj::method_in_field(arg) # calls method stored in myobj.method_in_field (myobj.method_in_field)(arg) # calls method stored in myobj.method_in_field myobj.method_in_field(arg) # calls global "method_in_field"
- ::(h:Hash, k:Any) Source: stdlib.ngs:303
Get Hash key. Useful when calling method stored in a Hash key. Useful for working with namespaces, which are implemented as Hash instances. Example
elb = AWS::Elb(...).converge(...)
- ::(x:Any, f:Fun) Source: stdlib.ngs:313
Executes f(x) Returns
x
- ::(t:Type, k:Str) Source: stdlib.ngs:1850
Undocumented Automatically called by NGS for syntax
SUBTYPE_OF_NAMEDINSTANCES::INSTANCE_NAME
Example
echo(Color::RED) # <Color numval=4 name=RED>