Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added extra examples to instructions for print-diamond and roman-nume…

…rals exercises
  • Loading branch information...
commit 63b94f96c244c7216718a1bd5e86b7efafac3ce9 1 parent 195aad6
@JonJagger authored
View
7 count.rb
@@ -1,6 +1,9 @@
+# A ruby script to display the count of katas per day
+#
# ruby count.rb
-# [2012, 5,17, "Tue"] 4
-# [2012, 5,18, "Wed"] 6
+# [2012,5,17, "Tue"] 14
+# [2012,5,18, "Wed"] 26
+# [2012,5,19, "Thu"] 32
def recent(array, max_length)
len = [array.length, max_length].min
View
9 exercises/Print_Diamond/instructions
@@ -13,3 +13,12 @@ E E
C C
B B
A
+
+For example: print-diamond 'C' prints
+
+ A
+ B B
+C C
+ B B
+ C
+
View
7 exercises/Roman_Numerals/instructions
@@ -16,7 +16,8 @@ any digit with a value of zero."
Examples:
- o) 1990 = MCMXC
- o) 2008 = MMVIII
- o) 99 = XCIX
+ o) 1990 = MCMXC (M = 1000 + CM = 900 + XC = 90)
+ o) 2008 = MMVIII (MM = 2000 + VIII = 8)
+ o) 99 = XCIX (XC = 90 + IX = 9)
+ o) 48 = XLVII (XL = 40 + VII = 7)
View
7 issues.txt
@@ -6,12 +6,7 @@ always work. Instead of trying to find children by walking
pid/ppid hierarchy it would be better to use pgid - process group.
See lib/Files.rb
-There is an error somewhere in the code for the server picking an
-animal for you when you first start. As a result sometimes the animal
-the server chooses becomes unavailable. So you can easily end up only
-haveing 12/16 animals actually available in a dojo.
-See lib/Locking.rb
-
+The Diff view doesn't work properly in IE8.
MINOR
-----
View
6 names.rb
@@ -1,6 +1,8 @@
+# A ruby script to display details about recent katas
+#
# ruby names.rb
-# >June 19 15:17 CA/CFEFD714 php-caret [4,9,13] -> 26
-# >June 29 19:05 F6/89352E7A dojo-name [0,1,3] -> 4
+# >June 19 15:17 CACFEFD714 ... [4,9,13] -> 26 ...
+# >June 29 19:05 F689352E7A ... [0,1,3] -> 4 ...
# Columns are: Date, Time, Folder, Name, Language, Exercise
# [Increments per avatar], Total Number of Increments, Browser
Please sign in to comment.
Something went wrong with that request. Please try again.