Created
February 11, 2016 10:52
-
-
Save RiverGlide/ddc6d815d73697b68950 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TheItems implements Question<List<String>> { | |
@Override | |
public List<String> answeredBy(Actor actor) { | |
return Text.of(ToDoList.ITEMS) | |
.viewedBy(actor) | |
.asList(); | |
} | |
public static Question<List<String>> displayed() { return new TheItems(); } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment