From: "Morris, Chris" Date: 2001-12-12T02:07:54+09:00 Subject: [ruby-talk:28247] Cheat sheet? I've started the following quick reference for my personal reference. Is there a more thorough one out there in internet land? Ruby book p. 9 & 10 =================== localVariable LOCAL_CONSTANT methodName methodParameter $globalVariable $GLOBAL_CONSTANT @instanceVariable @@classVariable MyClass MyModule or MYMODULE? (RUNIT is this way ... but Ruby book is first way) def myNewMethod(arg1, arg2, arg3) # pg. 67 in RubyBook end def myOtherNewMethod # no argument method end class MyClass attr_reader :myReadOnlyAttr, :mySecondReadOnlyAttr attr_writer :myWriteOnlyAttr, :mySecondWriteOnlyAttr # not certain if this is write-only attr_accessor :myRWAttr, :mySecondRWAttr Regular Expressions ------------------- http://www.perl.com/pub/doc/manual/html/pod/perlre.html http://www.blazonry.com/perl/regexp_ref.html