-
Notifications
You must be signed in to change notification settings - Fork 2
Class tannus.io.Getter
Ryan Davis edited this page Aug 1, 2015
·
1 revision
The return value of
this
Getter
Invokes
this
Getter, and returns it's value
Macro for creating Getters
package ;
import tannus.io.Getter
class Main {
/* Executed with the command-line argument 'Hello' */
public static function main():Void {
var args = Sys.args();
var first:Getter<String> = Getter.create(args[0]);
trace( first ); // 'Hello'
}
}