الفرق بين المراجعتين ل"Ruby/UncaughtThrowError/to s"
< Ruby | UncaughtThrowError
اذهب إلى التنقل
اذهب إلى البحث
جميل-بيلوني (نقاش | مساهمات) ط (مراجعة وتدقيق.) |
|||
سطر 1: | سطر 1: | ||
− | <noinclude>{{DISPLAYTITLE: التابع <code>to_s | + | <noinclude>{{DISPLAYTITLE: التابع <code>UncaughtThrowError.to_s</code> في روبي}}</noinclude> |
[[تصنيف: Ruby]] | [[تصنيف: Ruby]] | ||
[[تصنيف: Ruby Method]] | [[تصنيف: Ruby Method]] | ||
سطر 6: | سطر 6: | ||
==البنية العامة== | ==البنية العامة== | ||
<syntaxhighlight lang="ruby">to_s→ string</syntaxhighlight> | <syntaxhighlight lang="ruby">to_s→ string</syntaxhighlight> | ||
− | ==القيمة | + | ==القيمة المعادة== |
− | + | تعاد رسالة منسقة تحتوي الوسم (tag). | |
==انظر أيضا== | ==انظر أيضا== | ||
− | * التابع <code>[[Ruby/UncaughtThrowError/tag|tag]]</code>: يعيد | + | * التابع <code>[[Ruby/UncaughtThrowError/tag|tag]]</code>: يعيد كائن الوسم (tag object) الذي استُدعي معه. |
− | * التابع <code>[[Ruby/UncaughtThrowError/value|value]]</code>: يعيد | + | * التابع <code>[[Ruby/UncaughtThrowError/value|value]]</code>: يعيد القيمة المعادة من الوسم الذي استدعي معه. |
==مصادر== | ==مصادر== | ||
− | *[http://ruby-doc.org/core-2.5.1/UncaughtThrowError.html#method-i-to_s قسم | + | *[http://ruby-doc.org/core-2.5.1/UncaughtThrowError.html#method-i-to_s قسم التابع to_s في الصنف UncaughtThrowError في توثيق روبي الرسمي.] |