more ruby snippets

This commit is contained in:
Zhang Chiyuan
2008-03-06 15:01:27 +00:00
parent c45eff49e2
commit f1e3d81609
26 changed files with 92 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
#name : include Comparable; def <=> ... end
# --
include Comparable
def <=> other
$0
end