Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Give IO::Notification::Change a gist method
  • Loading branch information
moritz committed Jul 15, 2015
1 parent 648a585 commit 89847f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/IO/Notification.pm
Expand Up @@ -6,6 +6,9 @@ my class IO::Notification {
class Change {
has $.path;
has $.event;
multi method gist(Change:D:) {
"$.path: $.event";
}
}

method watch_path(Str() $path, :$scheduler = $*SCHEDULER) {
Expand Down

0 comments on commit 89847f8

Please sign in to comment.