Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Simple content changes in scrabook

  • Loading branch information...
commit 066e52d9e5df54e86518fd7ca4c499cd534d8fa8 1 parent 3642892
@equivalent authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 wisdom_inside/scraps/microblog
View
9 wisdom_inside/scraps/microblog
@@ -1,4 +1,13 @@
+# easy way to get whole alphabet
+
+ ('a'..'z') #range object of chars from a-z
+ ('a'..'z').to_a #array of chars from a-z
+
+ ('a'..'z').to_a.in_groups_of(9,false)
+ # => [["a", "b", "c", "d", "e", "f", "g", "h", "i"], ["j", "k", "l", "m", "n", "o", "p", "q", "r"], ["s", "t", "u", "v", "w", "x", "y", "z"]
+
+key: abcd
# get element tag name
Please sign in to comment.
Something went wrong with that request. Please try again.