الفرق بين المراجعتين ل"Ruby/SystemExit/status"
< Ruby | SystemExit
اذهب إلى التنقل
اذهب إلى البحث
(أنشأ الصفحة ب'<noinclude>{{DISPLAYTITLE: التابع <code>status</code> الخاص بالصنف <code>SystemExit</code> في روبي}}</noinclude> تصنيف: Ruby تص...') |
|||
سطر 7: | سطر 7: | ||
<syntaxhighlight lang="ruby">status→ integer</syntaxhighlight> | <syntaxhighlight lang="ruby">status→ integer</syntaxhighlight> | ||
==القيمة المُعادة== | ==القيمة المُعادة== | ||
+ | يعيد التابع <code>status</code> قيمة الحالة المرتبطة بكائن <code>[[Ruby/SystemExit|SystemExit]]</code> التي استُدعي معها. | ||
+ | |||
==انظر أيضا== | ==انظر أيضا== | ||
− | * التابع <code>[[Ruby/SystemExit/new|new]]</code>: يُنشئ التابع <code>new</code> استثناء <code>SystemExit</code> | + | * التابع <code>[[Ruby/SystemExit/new|new]]</code>: يُنشئ التابع <code>new</code> استثناء <code>SystemExit</code> جديدًا. |
− | |||
==مصادر== | ==مصادر== | ||
*[http://ruby-doc.org/core-2.5.1/SystemExit.html#method-i-status قسم التابع status في الصنف SystemExit في توثيق روبي الرسمي.] | *[http://ruby-doc.org/core-2.5.1/SystemExit.html#method-i-status قسم التابع status في الصنف SystemExit في توثيق روبي الرسمي.] |
مراجعة 20:34، 4 نوفمبر 2018
يعيد التابع status
قيمة الحالة المرتبطة بكائن SystemExit
التي استُدعي معها.
البنية العامة
status→ integer
القيمة المُعادة
يعيد التابع status
قيمة الحالة المرتبطة بكائن SystemExit
التي استُدعي معها.
انظر أيضا
- التابع
new
: يُنشئ التابعnew
استثناءSystemExit
جديدًا.