Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Unified Diff: corelib/src/options.dart

Issue 9159013: Add script attribute to Options class, providing the name of the running script. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: corelib/src/options.dart
diff --git a/corelib/src/options.dart b/corelib/src/options.dart
index 7224f788cd16ed113e6f6611d47406bbe6058430..ab1b0c9fec2ab52862644735b6704d617605b5c9 100644
--- a/corelib/src/options.dart
+++ b/corelib/src/options.dart
@@ -21,4 +21,9 @@ interface Options default RuntimeOptions {
* this list.
*/
List<String> get arguments();
+
+ /**
+ * Returns the path of the script being run.
Mads Ager (google) 2012/01/20 11:38:03 To mirror the comment above: "being run in this is
Bill Hesse 2012/01/20 16:05:58 Done.
+ */
+ String get script();
}

Powered by Google App Engine
This is Rietveld 408576698