You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0b836a8
Browse filesBrowse the repository at this point in the historyBrowse files
// important class MUST come before method - due to how Enum implements comparable and order
33
28
// dependent logic later @ see ArgumentTypeTest.testClassPrecedesMethod
34
-
CLASS_ARG("Switch is optional, app tries to find a class definition for any unrecognized string - which becomes a method argument if class is not found. If classcast succeeds - the class will become the only koansuite to run. Permits users/developers to focus on one suite at a time.",
35
-
newClassArg(), "-class"),
36
-
METHOD_ARG("Switch is optional, results from failing to find a class definition by an unrecognized string if switch is omitted.",
37
-
newMethodArg(), "-method"),
38
-
RUN_KOANS("Default target. No switch - this runs if no switch is defined, or if a valid class is found as an argument.",
ArgumentType.backup_description=Backup all the koans in the src/ for easy restoration later (useful for developing koans).
2
+
ArgumentType.backup_args= -backup, backup, b
3
+
ArgumentType.class_description=Switch is optional, app tries to find a class definition for any unrecognized string - which becomes a method argument if class is not found. If classcast succeeds - the class will become the only koansuite to run. Permits users/developers to focus on one suite at a time.
4
+
ArgumentType.class_args= -class, class, c
5
+
ArgumentType.debug_description=Enable debug state in the app.
6
+
ArgumentType.debut_args= -debug, debug, d
7
+
ArgumentType.default_run_description=Default target. No switch - this runs if no switch is defined, or if a valid class is found as an argument.
8
+
ArgumentType.default_run_args=
9
+
ArgumentType.duplicated_arg_error_part1=command line arg:
10
+
ArgumentType.duplicated_arg_error_part2=\ is duplicated.
11
+
ArgumentType.help_description=Help. Displays stuff to, er, help you.
12
+
ArgumentType.help_args= -help, help, h, ?
13
+
ArgumentType.method_description=Switch is optional, results from failing to find a class definition by an unrecognized string if switch is omitted.
14
+
ArgumentType.method_args= -method, method, m
15
+
ArgumentType.restore_description=Restore all the koans in the src/ folder to their original (or last backed up) state.
The purpose of this project is to emulate the awesomeness of the Ruby Koans, and apply it to the Java language.
2
+
3
+
Why Java? Why not?
4
+
5
+
We've all seen plenty of bad Java code, and written it ourselves. Hopefully these koans can help people eager to learn Java; to write clean, maintainable code.
6
+
1
7
Running Instructions:
2
8
1. Download and unarchive the contents of the most recent java-koans in development from:
0 commit comments