summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec57
1 files changed, 40 insertions, 17 deletions
diff --git a/spec b/spec
index ba592a06fe..6432fc6090 100644
--- a/spec
+++ b/spec
@@ -1082,6 +1082,12 @@ Ruby�ˤϸ�̩�ʰ�̣�Ǥϴؿ��Ϥʤ���Kernel���饹�δؿ��᥽�åɤ�(���Ƥ�
$& �Ǹ�����������ѥ�����ޥå�
+ $` �Ǹ�Υѥ�����ޥå��ǥޥå�����ʸ���������ʸ����
+
+ $' �Ǹ�Υѥ�����ޥå��ǥޥå�����ʸ����θ��³��ʸ����
+
+ $+ �Ǹ�θ����ѥ�����ǥޥå������Ǹ�γ��
+
$1..$9 �Ǹ�����������ѥ�����ޥå���n���ܤγ�̤˥ޥå�����
�ͤ���Ǽ�����. ���������̤��ʤ����nil�����äƤ���.
@@ -1109,6 +1115,12 @@ Ruby�ˤϸ�̩�ʰ�̣�Ǥϴؿ��Ϥʤ���Kernel���饹�δؿ��᥽�åɤ�(���Ƥ�
$. �Ǹ���ɤ�����ϥե�����ι��ֹ�.
+ $< ���ۥե�����$ARGF�Ǹ����ɤ߹������(�᥽�å�gets()����
+ �ɤ�Ǥ���)�ե�����̾��(�Ф���: `<'�ϥ���������ϻ���)
+
+ $> print��printf�Υǥե���Ȥν�����. ����ͤ�$stdout��
+ (�Ф���: `>'�ϥ�����ν��������)
+
$_ �Ǹ��gets()�ʤɤ��ɤ߹����ʸ����.
$0 ruby������ץȤ�̾��. �����ѿ������������ps(1)�ν���
@@ -1121,19 +1133,25 @@ Ruby�ˤϸ�̩�ʰ�̣�Ǥϴؿ��Ϥʤ���Kernel���饹�δؿ��᥽�åɤ�(���Ƥ�
$? �Ǹ�˼¹Ԥ����ҥץ�������status.
+ $: �ե����������ɤ�����˸�������ǥ��쥯�ȥ�ؤΥѥ���
+ �ޤ�����. ��ư���ˤϥǥե������(����ѥ�����˻��ꤹ
+ ��)�˲ä���, �Ķ��ѿ�RUBYLIB���ͤ�ruby��ư����-I���ץ���
+ ��ǻ��ꤵ�줿�ͤ��ɲä���롥(�Ф���: ������ϴĶ���
+ ��PATH�ζ��ڤ�ʸ���Ǥ���)
+
+ $" �����ɤ��줿�ե�����̾��ޤ�����Ʊ���ե������2�����
+ �ɤ��ʤ�������Ѥ����롥(�Ф���: prevent files to be
+ doubly quoted(loaded))
+
$ARGV $*��Ʊ��.
$ENV �Ķ��ѿ��˥�����������Ϣ������.
- $FILENAME ���ۥե�����$ARGF�Ǹ����ɤ߹�����Υե�����̾. �᥽��
- ��gets()�����ɤ�Ǥ���ե�����̾.
+ $FILENAME $<��Ʊ����
- $DEBUG `-d'�ե饰�ξ���(������)
+ $DEBUG `-d'�ե饰�ξ���(������)��
- $LOAD_PATH �ե����������ɤ�����˸�������ǥ��쥯�ȥ�ؤΥѥ���
- �ޤ�����. ��ư���ˤϥǥե������(����ѥ�����˻��ꤹ
- ��)�˲ä���, �Ķ��ѿ�RUBYLIB���ͤ�ruby��ư����-I���ץ���
- ��ǻ��ꤵ�줿�ͤ��ɲä����.
+ $LOAD_PATH $:��Ʊ����
$stdin ɸ������
$stdout ɸ�����
@@ -1215,6 +1233,21 @@ Methods:
����η����֤�.
+ self - other
+
+ ����κ��黻��self����other�����Ǥ�����������Ƥο���������
+ ���֤�����ʣ�������Ǥ�1�٤�������롥
+
+ self * other
+
+ ������ѱ黻��ξ��������˴ޤޤ�����Ǥ���ʤ뿷����������֤���
+ ��ʣ�������Ǥ�1�٤�������롥
+
+ self | other
+
+ ������±黻��ξ��������ˤ����줫�˴ޤޤ�����Ǥ����ƴޤ࿷��
+ ��������֤�����ʣ�������Ǥ�1�٤�������롥
+
self << obj
obj��������������ɲä���. self���֤��Τ�C++Ū��Ϣ���Ǥ���.
@@ -2362,16 +2395,6 @@ Methods:
str����Ϥ���. ���Ϥ����Х��ȿ����֤�.
-Single Methods:
-
- default
-
- print��printf�Υǥե���Ȥν�������֤�. ����ͤ�$stdout.
-
- default=(io)
-
- �ǥե���Ȥν��������ꤹ��.
-
*** Kernel(���饹)
���ƤΥ��饹�δ��쥯�饹. Ruby�Ȥ߹��ߤ����Ƥδؿ��᥽�åɤϤ��Υ��饹