{"id":104438,"date":"2025-04-03T19:46:40","date_gmt":"2025-04-03T15:16:40","guid":{"rendered":"https:\/\/nabfollower.com\/blog\/l2\/"},"modified":"2025-04-03T19:46:40","modified_gmt":"2025-04-03T15:16:40","slug":"l2","status":"publish","type":"post","link":"https:\/\/nabfollower.com\/blog\/l2\/","title":{"rendered":"L2"},"content":{"rendered":"<p>\u0631\u0648\u0634\u0647\u0627\u06cc \u0631\u0634\u062a\u0647 \u0627\u06cc \u0645\u0639\u0627\u062f\u0644 \u062f\u0627\u0631\u0646\u062f \u06a9\u0647 \u0628\u0647 &#8220;!&#8221; \u06a9\u0647 \u062f\u0631 \u0648\u0627\u0642\u0639 \u062e\u0648\u062f \u0631\u0634\u062a\u0647 \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc \u062f\u0647\u062f.\n<\/p>\n<div class=\"highlight js-code-highlight\">\n<pre class=\"highlight plaintext\"><code># Use normal methods to return new strings\nmy_string = \"hello\"\nmy_string.capitalize   #=&gt; \"Hello\"\nputs my_string         #=&gt; \"hello\"\n\n# And bang-methods (...!) to modify the object\nmy_string = \"hello\"\nmy_string.capitalize!  #=&gt; \"Hello\"\nputs my_string         #=&gt; \"Hello\"\n<\/code><\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0631\u0648\u0634\u0647\u0627\u06cc \u0631\u0634\u062a\u0647 \u0627\u06cc \u0645\u0639\u0627\u062f\u0644 \u062f\u0627\u0631\u0646\u062f \u06a9\u0647 \u0628\u0647 &#8220;!&#8221; \u06a9\u0647 \u062f\u0631 \u0648\u0627\u0642\u0639 \u062e\u0648\u062f \u0631\u0634\u062a\u0647 \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc \u062f\u0647\u062f. # Use normal methods to return new strings my_string = &#8220;hello&#8221; my_string.capitalize #=&gt; &#8220;Hello&#8221; puts my_string #=&gt; &#8220;hello&#8221; # And bang-methods (&#8230;!) to modify the object my_string = &#8220;hello&#8221; my_string.capitalize! #=&gt; &#8220;Hello&#8221; puts my_string #=&gt; &#8220;Hello&#8221;<\/p>\n","protected":false},"author":2,"featured_media":104439,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/media2.dev.to\/dynamic\/image\/width=1000,height=500,fit=cover,gravity=auto,format=auto\/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw430s9bau5o3gunon92z.png","fifu_image_alt":"","footnotes":""},"categories":[339],"tags":[],"class_list":["post-104438","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dev"],"_links":{"self":[{"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/posts\/104438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/comments?post=104438"}],"version-history":[{"count":0,"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/posts\/104438\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/media\/104439"}],"wp:attachment":[{"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/media?parent=104438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/categories?post=104438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/tags?post=104438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}