September 27, 1999
*
prepended to an argument?
&
prepended to an argument?
Proc.new
without a block do?
:exit
mean?
loop
a control structure?
a +b
gives an error.
s = "x"; puts s *10
gives an error.
p {}
.
def pos= (val) print @pos,"\n"; @pos = val end
,
I cannot use the method pos = 1
.
'\1'
and '\\1'
?
p true or true and false
prints true
, while
a=true if true or true and false
does not assign true
to a
.
p(nil || "")
returns "", while p(nil or "")
gives parse error.
+
and -
operators?
private
and
protected
.
super
yields an ArgumentError
.
load
and require
?
include
and extend
?
self
mean?
instance_methods(nil)
?
rand
generate the same random number sequence?
Fixnum
, true
, nil
, and false
are implemented as immediate values, what is the difference between
an immediate value and a reference?
nil
and false
?
less
to display strings?
File
object which has no reference?
true
in a condition expression.
"abcd"[0]
return?
sub
and sub!
?
..
and ...
?
thread
and fork
?
trap
?
gtk+
or xforms
interface in Ruby?
a ? b : c
mean?
begin
and end
of MatchingData return?
Originally written by Shugo Maeda
shugo@netlab.co.jp
Transformed to SGML by Ozawa Sakuro
crouton@duelists.org
Translated into English by gotoken
gotoken@math.sci.hokudai.ac.jp
Revised by Akira Endo
akendo@t3.rim.or.jp
since June 7, 1999 (original Sep 18, 1997)
Transformed to private XML on June 28, 1999, parsed with xmlparser by
Yoshida Masato
yoshidam@inse.co.jp
,
yoshidam@yoshidam.net
.