{"id":206416,"date":"2013-12-19T12:04:03","date_gmt":"2013-12-19T08:04:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=206416"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=206416","title":{"rendered":"<span class=\"post_title\">Ruby: cheatsheet \u0434\u043b\u044f \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044f. \u0427\u0430\u0441\u0442\u044c 1<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u0415\u0449\u0435 \u043a\u043e\u0433\u0434\u0430 \u0443\u0447\u0438\u043b\u0441\u044f \u0432 \u0448\u043a\u043e\u043b\u0435, \u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b\u0441\u044f \u044f\u0437\u044b\u043a\u0430\u043c\u0438, \u044f \u0441\u0447\u0438\u0442\u0430\u043b, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043a\u0443\u043f\u0430\u0442\u044c \u0434\u0432\u0435 \u043a\u043d\u0438\u0433\u0438 \u043f\u043e \u043b\u044e\u0431\u043e\u043c\u0443 \u044f\u0437\u044b\u043a\u0443: \u043f\u0435\u0440\u0432\u0443\u044e \u2014 \u00ab\u0434\u043b\u044f \u0447\u0430\u0439\u043d\u0438\u043a\u043e\u0432\u00bb \u0438 \u0432\u0442\u043e\u0440\u0443\u044e \u2014 \u00ab\u043c\u0430\u0441\u0442\u0435\u0440\u00bb. \u0412 \u043f\u0435\u0440\u0432\u043e\u0439 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0432\u0441\u0435 hints \u2014 \u0430 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u043e\u043b\u0438\u0441\u0442\u0430\u0442\u044c, \u0430 \u0432\u0442\u043e\u0440\u0430\u044f \u2014 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u0430\u044f (\u0441\u0435\u0439\u0447\u0430\u0441 \u0435\u0435 \u0437\u0430\u043c\u0435\u043d\u0438\u043b Google). \u0418 \u043f\u043e\u0434\u0445\u043e\u0434 \u0432\u043f\u043e\u043b\u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b. \u0422\u0435\u043f\u0435\u0440\u044c, \u0441 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435\u043c \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430, \u0442\u0430\u043a\u043e\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u043a\u0443\u0434\u0430-\u0442\u043e \u0443\u043b\u0435\u0442\u0443\u0447\u0438\u043b\u0441\u044f, \u0438 \u043f\u0440\u0438 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u0438 \u043d\u0443\u0436\u043d\u043e \u043f\u043e \u043a\u0440\u0443\u043f\u0438\u0446\u0430\u043c \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u2014 \u0432\u0441\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b \u043b\u0438\u0431\u043e \u0443\u0436\u0435 \u00abpro\u00bb, \u043b\u0438\u0431\u043e \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442 \u2014 \u0430\u0437\u044b, \u0431\u0435\u0437 \u00ab\u0441\u0430\u043c\u043e\u0433\u043e \u0441\u043e\u043a\u0430\u00bb \u0438 \u043c\u043d\u043e\u0433\u0438\u0445 \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u0432\u0430\u0436\u043d\u044b\u0445 \u0432\u0435\u0449\u0435\u0439, \u0438\u043b\u0438 \u0436\u0435 \u2014 \u0432\u0441\u0435 \u0441\u0440\u0430\u0437\u0443 \u0438 \u0432 \u043a\u0443\u0447\u0443 \u043d\u0430 &gt;9999 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445.<\/p>\n<p>  \u042d\u0442\u043e \u2014 \u0441\u0442\u0430\u0442\u044c\u044f-roadmap-cheatsheet \u0434\u043b\u044f \u0438\u0437\u0443\u0447\u0430\u044e\u0449\u0438\u0445 Ruby \u0438 Rails (Rails \u0438 Gems \u0437\u0430\u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043d\u0430 \u0432\u0442\u043e\u0440\u0443\u044e \u0447\u0430\u0441\u0442\u044c). \u0412\u043c\u0435\u0441\u0442\u043e \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 how-to \u044f \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u044e\u0441\u044c \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u0442\u044c \u0432\u0441\u0435 \u0442\u0435 \u0432\u0435\u0449\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435, \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u043b\u043e\u0436\u0438\u0442\u044c \u043a\u0440\u0430\u0442\u043a\u043e \u0438 \u0435\u043c\u043a\u043e, \u0441 \u0443\u043f\u043e\u0440\u043e\u043c \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0443 \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0435\u043c\u0443 \u0441 \u0434\u0440\u0443\u0433\u0438\u0445 \u044f\u0437\u044b\u043a\u043e\u0432 \u0438 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043d\u0435 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u043c, \u0430\u043d\u0442\u0438\u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u043c \u0438 \u043f\u0440\u043ec\u0442\u043e \u0437\u0430\u0442\u0440\u0430\u0442\u043d\u044b\u043c \u043f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u0435 \u0431\u0435\u0437 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043e\u043a \u2014 \u043d\u0430 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u0430\u043c \u0441\u0441\u044b\u043b\u043a\u0438 (\u0438 \u0435\u0441\u0442\u044c Google \u2014 \u043d\u043e \u0432\u0435\u0434\u044c \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u043f\u0443\u0442\u0438, \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e \u0447\u0442\u043e \u0443 \u043d\u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044c). \u041d\u0435 \u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0432 \u043f\u0440\u0438\u0440\u043e\u0434\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u043e\u0432\/\u043a\u0430\u0441\u0442\u043e\u0432\/\u043a\u043d\u0438\u0433\/\u0447\u0435\u0433\u043e \u0443\u0433\u043e\u0434\u043d\u043e \u043f\u043e \u0447\u0435\u043c\u0443 \u0443\u0433\u043e\u0434\u043d\u043e \u2014 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u043e\u0433\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u043c\u043d\u0435 \u0441\u0430\u043c\u043e\u043c\u0443 \u0432\u0441\u0435\u0433\u0434\u0430 \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442. \u0418 \u043f\u043e \u0441\u0443\u0442\u0438, \u044d\u0442\u043e \u0442\u0435 \u0432\u0435\u0449\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u044e \u043f\u0440\u0438 \u0432\u043e\u043f\u0440\u043e\u0441\u0430\u0445 \u00ab\u0430 \u043a\u0430\u043a \u043e\u043d\u043e \u0432\u043e\u043e\u0431\u0449\u0435?\u00bb, \u00ab\u0441 \u0447\u0435\u0433\u043e \u043d\u0430\u0447\u0430\u0442\u044c?\u00bb, \u00ab\u0430 \u043a\u0430\u043a \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u0430\u044f \u0432\u043e\u0442 \u0448\u0442\u0443\u043a\u0430?\u00bb, \u00ab\u0430 \u043a\u0430\u043a\u043e\u0439 gem \u043b\u0443\u0447\u0448\u0435?\u00bb \u2014 \u0442\u0435\u043f\u0435\u0440\u044c \u0431\u0443\u0434\u0443 \u043a\u0438\u0434\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u0441\u044e\u0434\u0430) \u041a\u0441\u0442\u0430\u0442\u0438, \u043f\u043e\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043d\u0430\u0434 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435\u0439 <a href=\"http:\/\/habrahabr.ru\/post\/205944\/\">\u043d\u0430 \u0425\u0430\u0431\u0440\u0435 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043f\u043e\u0445\u043e\u0436\u0430\u044f \u043f\u0440\u043e Python<\/a> \u2014 \u0432\u0438\u0434\u0438\u043c\u043e, \u0438\u0434\u0435\u044f \u0432\u0438\u0442\u0430\u0435\u0442 \u0432 \u0432\u043e\u0437\u0434\u0443\u0445\u0435.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041e\u043a\u043e\u043b\u043e Ruby &#8212; \u0441\u043b\u0443\u0445\u0438, \u0438\u043d\u0442\u0440\u0438\u0433\u0438, \u0440\u0430\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f<\/b><\/p>\n<div class=\"spoiler_text\">\u0421\u0440\u0430\u0437\u0443 \u043e\u0433\u043e\u0432\u043e\u0440\u044e\u0441\u044c, \u0447\u0442\u043e \u0442\u0435\u043a\u0441\u0442 \u043f\u043e\u0434 \u044d\u0442\u0438\u043c \u0441\u043f\u043e\u0439\u043b\u0435\u0440\u043e\u043c \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u00ab\u043e\u0431\u044a\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0439\u00bb \u0447\u0430\u0441\u0442\u0438 \u0441\u0442\u0430\u0442\u044c\u0438, \u0442.\u043a. \u0437\u0434\u0435\u0441\u044c \u0438\u0437\u043b\u043e\u0436\u0435\u043d\u043e \u043c\u043e\u0435 \u043b\u0438\u0447\u043d\u043e\u0435 \u043c\u043d\u0435\u043d\u0438\u0435 \u0438 \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u0435\u043d\u0438\u0435.<\/p>\n<p>  \u042f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u2014 \u044d\u0442\u043e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441, \u0441\u0431\u043e\u0440\u0449\u0438\u043a \u043c\u0443\u0441\u043e\u0440\u0430, \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0430\u0440\u0430\u0434\u0438\u0433\u043c\u0430 \u044f\u0437\u044b\u043a\u0430, \u0438 \u0434\u0430\u0436\u0435 \u043d\u0435 \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0435\u0433\u043e \u0444\u0438\u043b\u043e\u0441\u043e\u0444\u0438\u044f, \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u2014 \u044d\u0442\u043e \u043a\u043e\u043c\u043c\u044c\u044e\u043d\u0438\u0442\u0438 \u0438 \u0442\u0430 \u043a\u043e\u0434\u043e\u0432\u0430\u044f \u0431\u0430\u0437\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u044d\u0442\u043e \u043a\u043e\u043c\u043c\u044c\u044e\u043d\u0438\u0442\u0438 \u0441\u043e\u0437\u0434\u0430\u043b\u043e. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0441\u0435\u0439\u0447\u0430\u0441, \u0432 \u044d\u043f\u043e\u0445\u0443 OpenSource. \u0418 \u0442\u0443\u0442 \u0443 Ruby \u043f\u0435\u0440\u0432\u044b\u0439 \u0436\u0438\u0440\u043d\u044b\u0439 \u043f\u043b\u044e\u0441 \u0432 \u043a\u0430\u0440\u043c\u0443. \u041e\u0434\u043d\u0430 \u0438\u0437 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0435\u0439 \u2014 \u0432\u043e \u0432\u0441\u0435\u043c \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0430\u0433\u043c\u0430\u0442\u0438\u0447\u043d\u0430\u044f \u043b\u0435\u043d\u044c, \u043d\u0430\u0447\u0438\u043d\u0430\u044f c \u043e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0441\u043a\u043e\u0431\u043e\u043a \u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0438 \u0442\u043e\u0447\u0435\u043a \u0441 \u0437\u0430\u043f\u044f\u0442\u043e\u0439 \u0432 \u043a\u043e\u043d\u0446\u0435 \u0441\u0442\u0440\u043e\u043a\u0438, \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044f \u0435\u043c\u043a\u0438\u043c \u0438 \u0432\u044b\u0440\u0430\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u043e\u043c, \u0438 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u044f \u043e\u0431\u0449\u0438\u043c \u043e\u0449\u0443\u0449\u0435\u043d\u0438\u0435\u043c \u043e\u0442 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u2014 \u043c\u043d\u043e\u0433\u0438\u0435 \u0438\u0437 \u043d\u0438\u0445 \u0441\u0434\u0435\u043b\u0430\u043d\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u043c\u0438 \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438, \u0438 \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0438\u0445 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u0438\u043b\u0438\u0439, \u0447\u0442\u043e\u0431\u044b \u0441\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0445.<\/p>\n<p>  \u041c\u043d\u043e\u0433\u0438\u0435 \u0432\u044b\u0431\u0438\u0440\u0430\u044e\u0442 Ruby, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u044d\u0442\u043e \u043a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u043e \u0438 \u043f\u0440\u0438\u044f\u0442\u043d\u043e. \u0423\u0434\u043e\u0432\u043e\u043b\u044c\u0441\u0442\u0432\u0438\u0435 \u0438 \u0440\u0430\u0434\u043e\u0441\u0442\u044c \u043e\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u044f\u0437\u044b\u043a\u0430\u0445 \u2014 \u0438 \u0432 Ruby \u043e\u043d\u043e \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 \u0435\u0437\u0434\u0443 \u043d\u0430 \u0445\u043e\u0440\u043e\u0448\u0435\u043c \u0430\u0432\u0442\u043e. \u041d\u0435 \u043d\u0430 \u0441\u0443\u043f\u0435\u0440\u043a\u0430\u0440\u0435, \u043f\u043e\u0434\u0432\u0435\u0441\u043a\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u043a\u0430\u0436\u0434\u0443\u044e \u043a\u043e\u043b\u0434\u043e\u0431\u0438\u043d\u0443, \u043d\u043e \u0437\u0430\u0442\u043e \u0432\u0441\u0435 \u0432\u043e\u043a\u0440\u0443\u0433 \u0432 \u0432\u043e\u0441\u0442\u043e\u0440\u0433\u0435, \u043d\u0435 \u043d\u0430 \u0432\u0441\u0435\u0434\u043e\u0440\u043e\u0436\u043d\u0438\u043a\u0435, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0435\u0441\u043b\u0438 \u0432\u0434\u0440\u0443\u0433 \u043f\u0440\u0438\u0441\u043f\u0438\u0447\u0438\u0442 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043c\u0435\u0441\u0438\u0442\u044c \u0433\u0440\u044f\u0437\u044c, \u043d\u0435 \u043d\u0430 \u00ab\u0437\u0430\u0436\u0438\u0433\u0430\u043b\u043a\u0435\u00bb, \u0447\u0442\u043e\u0431\u044b \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0433\u043e\u043d\u044f\u0442\u044c\u0441\u044f \u0441 \u043f\u0435\u0440\u0435\u043a\u0440\u0435\u0441\u0442\u043a\u0430, \u0438 \u043d\u0435 \u043c\u0430\u043b\u043e\u043b\u0438\u0442\u0440\u0430\u0436\u043a\u0435 (\u0437\u0430\u0442\u043e \u0434\u0435\u0448\u0435\u0432\u043e \u0438 \u044d\u043a\u043e\u043b\u043e\u0433\u0438\u0447\u043d\u043e) \u2014 \u0438\u043c\u0435\u043d\u043d\u043e \u043d\u0430 \u0445\u043e\u0440\u043e\u0448\u0435\u0439 \u0434\u043e\u0441\u0442\u043e\u0439\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435, \u0441\u0438\u0434\u044f \u0437\u0430 \u0440\u0443\u043b\u0435\u043c \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0435\u0448\u044c \u0434\u0443\u043c\u0430\u0442\u044c \u043d\u0435 \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u043e \u0434\u043e\u0440\u043e\u0433\u0435, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e \u0431\u043e\u043b\u0435\u0435 \u0432\u0430\u0436\u043d\u044b\u0445 \u0432\u0435\u0449\u0430\u0445, \u0445\u043e\u0442\u044f \u0431\u044b \u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0435 \u0438 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0439 \u0446\u0435\u043b\u0438 \u043f\u043e\u0435\u0437\u0434\u043a\u0438. \u0418 \u0441\u043b\u0443\u0448\u0430\u0442\u044c \u043b\u044e\u0431\u0438\u043c\u0443\u044e \u043c\u0443\u0437\u044b\u043a\u0443, \u043a\u043e\u043d\u0435\u0447\u043d\u043e.<br \/>  \u0418\u043b\u0438 \u0436\u0435, \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0430 Ruby \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 \u0438\u0433\u0440\u0443 \u0432 Lego (\u0438 \u044d\u0442\u043e \u0432\u043e \u043c\u043d\u043e\u0433\u043e\u043c \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f Gems). \u0425\u043e\u0442\u044f \u043a\u0442\u043e-\u0442\u043e \u043b\u044e\u0431\u0438\u0442 \u0441\u0432\u0430\u0440\u043a\u0443 \u0430\u0440\u043c\u0430\u0442\u0443\u0440\u044b, \u0430 \u043a\u043e\u043c\u0443-\u0442\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043a\u0430\u0440\u0442\u043e\u043d\u0430 \u0438 \u043a\u043b\u0435\u044f.<\/p>\n<p>  \u041d\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u044f\u043c\u0438. \u0415\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u043d\u043e\u0433\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u0442\u044c \u043e Ruby \u0438 Rails \u2014 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u044e \u0432\u043d\u0435\u0441\u0442\u0438 \u0432 \u043d\u0438\u0445 \u044f\u0441\u043d\u043e\u0441\u0442\u044c.<\/p>\n<p>  \u0418\u0437\u0432\u0435\u0441\u0442\u043d\u043e \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e Ruby \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u044b\u0439. \u0418 \u043f\u043e\u0441\u043f\u043e\u0440\u0438\u0442\u044c \u0441\u043b\u043e\u0436\u043d\u043e, \u0432\u0435\u0434\u044c Ruby \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0439 \u044f\u0437\u044b\u043a. \u0418 \u0447\u0442\u043e \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u043d\u043e, \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u044f \u044d\u0442\u043e \u0441\u043b\u044b\u0448\u0443 \u043e\u0442 \u0442\u0435\u0445 \u043a\u0442\u043e \u043f\u0438\u0448\u0435\u0442 (\u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e) \u043d\u0430 PHP, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u043e\u0436\u0435 \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0438\u0440\u0443\u0435\u043c, \u0438 \u043f\u043e \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0432 \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0442\u0435\u0441\u0442\u0430\u0445 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043d\u0430 \u0442\u043e\u043c \u0436\u0435 \u0443\u0440\u043e\u0432\u043d\u0435. \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u044d\u0442\u043e \u043e\u0442\u0433\u043e\u043b\u043e\u0441\u043a\u0438 \u0434\u0443\u0440\u043d\u043e\u0439 \u0441\u043b\u0430\u0432\u044b \u0441\u0442\u0430\u0440\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u0439. \u041f\u043e \u0444\u0430\u043a\u0442\u0443, \u043c\u043d\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0438 \u0441 Rails \u0438 \u0441 Symfony2 \u2014 \u043d\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445 Rails \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043f\u0440\u0438 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u043c \u0443\u0440\u043e\u0432\u043d\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 (\u0438 \u0432 \u043e\u0431\u043e\u0438\u0445 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u2014 \u0437\u0430\u043b\u043e\u0433 \u0443\u0441\u043f\u0435\u0445\u0430). \u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0438 \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u043e\u0441\u0442\u044c \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u2014 <s>\u043f\u0438\u0448\u0438\u0442\u0435 \u043d\u0430 \u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440\u0435<\/s> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 Node.js. \u041d\u043e \u043f\u0430\u0440\u0430\u0434\u043e\u043a\u0441 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043d\u0430 \u043d\u0435\u043c \u043a\u0430\u043a \u0440\u0430\u0437 \u0447\u0430\u0441\u0442\u043e \u043f\u0438\u0448\u0443\u0442 \u0440\u0443\u0431\u0438\u0441\u0442\u044b \u2014 \u043a\u043e\u0433\u0434\u0430 \u044d\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u043f\u0440\u0430\u0432\u0434\u0430\u043d\u043d\u043e. \u0418 \u0434\u0435\u043b\u043e \u0442\u0443\u0442 \u0432\u043e\u0442 \u0432 \u0447\u0435\u043c: \u0432\u0430\u0436\u043d\u0430 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b, \u043d\u043e \u0438 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0418 Ruby, \u0438 \u0432\u0441\u0435 \u0442\u043e, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043d\u0430 github \u0432\u0441\u044f\u0447\u0435\u0441\u043a\u0438 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0434\u043e\u0441\u0442\u0438\u0447\u044c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430 \u2014 \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u0432 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u0445 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0418 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0431\u044b\u0432\u0430\u0442\u044c, \u0447\u0442\u043e \u0438 \u0433\u043b\u0430\u0432\u043d\u0430\u044f \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430, \u0438 \u0431\u0443\u0442\u044b\u043b\u043e\u0447\u043d\u044b\u0435 \u0433\u043e\u0440\u043b\u044b\u0448\u043a\u0438, \u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u2014 \u044d\u0442\u043e \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445, \u0430 \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u044d\u0442\u043e \u0432\u0441\u0435\u0433\u043e-\u043b\u0438\u0448\u044c \u043f\u0440\u043e\u0441\u043b\u043e\u0439\u043a\u0430 \u0431\u0438\u0437\u043d\u0435\u0441-\u043b\u043e\u0433\u0438\u043a\u0438. \u0410 \u0442\u0430\u043a\u0430\u044f \u043f\u0440\u043e\u0441\u043b\u043e\u0439\u043a\u0430 \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u0442\u0441\u044f.<\/p>\n<p>  \u0415\u0441\u0442\u044c \u0435\u0449\u0435 \u0441\u0432\u043e\u0435\u043e\u0431\u0440\u0430\u0437\u043d\u044b\u0439 \u043c\u0438\u0444 \u043f\u0440\u043e \u0432\u044b\u0441\u043e\u043a\u0438\u0435 \u0437\u0430\u0440\u043f\u043b\u0430\u0442\u044b Ruby-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u0441 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u2014 \u0447\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430 Ruby \u043c\u0430\u043b\u043e. \u041e\u0431\u044b\u0447\u043d\u043e \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u044e\u0442 \u0441 \u0437\u0430\u0440\u043f\u043b\u0430\u0442\u0430\u043c\u0438 \u0441\u043e \u0441\u0440\u0435\u0434\u043d\u0435\u0439 \u043f\u043e \u0440\u044b\u043d\u043a\u0443 \u043d\u0430 PHP, \u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430 \u043d\u0435\u043c \u0436\u0435. \u0421\u0440\u0435\u0434\u043d\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0437\u0430\u0440\u043f\u043b\u0430\u0442 \u043d\u0430 PHP \u2014 \u044d\u0442\u043e \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u00ab\u0441\u0440\u0435\u0434\u043d\u044f\u044f <s>\u0437\u0430\u0440\u043f<\/s> \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u043f\u043e \u0431\u043e\u043b\u044c\u043d\u0438\u0446\u0435\u00bb. \u0415\u0441\u043b\u0438 \u0436\u0435 \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u043e\u0432 \u043f\u043e Yii\/Symfony\/Zend \u0438 Rails (\u043c\u043e\u0436\u043d\u043e \u0435\u0449\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c Django \u043d\u0430 Python) \u2014 \u043a\u0430\u0440\u0442\u0438\u043d\u0430 \u0432\u044b\u0439\u0434\u0435\u0442 \u0441\u043e\u0432\u0441\u0435\u043c \u0434\u0440\u0443\u0433\u0430\u044f, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e: \u0438 \u0437\u0430\u0440\u043f\u043b\u0430\u0442\u044b \u0438 \u043e\u0431\u044a\u0435\u043c \u0440\u044b\u043d\u043a\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b. \u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0445\u043e\u0440\u043e\u0448\u0438\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430\u043c \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u043f\u043b\u0430\u0442\u044f\u0442. \u0418 \u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e, \u043a\u043e\u0433\u0434\u0430 \u0431\u0435\u0440\u0435\u0448\u044c\u0441\u044f \u0437\u0430 \u043f\u0440\u043e\u0435\u043a\u0442 \u0441 \u043d\u0443\u043b\u044f \u2014 \u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u0432\u044b\u0431\u043e\u0440 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u0437\u0430 \u0442\u043e\u0431\u043e\u0439 \u0438 \u0442\u0432\u043e\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439, \u0430 \u043d\u0435 \u0437\u0430\u043a\u0430\u0437\u0447\u0438\u043a\u043e\u043c\/\u043d\u0430\u0447\u0430\u043b\u044c\u0441\u0442\u0432\u043e\u043c.<\/p>\n<p>  \u0422\u0430\u043a \u0447\u0442\u043e, \u0435\u0441\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0445 \u044f\u0437\u044b\u043a\u043e\u0432 \u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432 \u0434\u043b\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0438 Ruby \u0441 Rails \u043d\u0435 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441\u0435\u0440\u0435\u0431\u0440\u044f\u043d\u043e\u0439 \u043f\u0443\u043b\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0443\u0431\u044c\u0435\u0442 \u0432\u0441\u0435\u0445 <s>\u0437\u0430\u0439\u0446\u0435\u0432<\/s> \u043a\u0440\u043e\u043b\u0438\u043a\u043e\u0432-\u043e\u0431\u043e\u0440\u043e\u0442\u043d\u0435\u0439 \u0441\u0440\u0430\u0437\u0443. \u041f\u0440\u043e\u0441\u0442\u043e, \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u0435\u0441\u043b\u0438 \u0431\u0440\u0430\u0442\u044c \u0441\u043e\u0432\u043e\u043a\u0443\u043f\u043d\u043e\u0441\u0442\u044c \u0432\u0430\u0436\u043d\u044b\u0445 \u043a\u0440\u0438\u0442\u0435\u0440\u0438\u0435\u0432, \u0430 \u043d\u0435 \u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443-\u0434\u0432\u0443\u043c \u0438\u0437 \u043d\u0438\u0445, RoR \u043d\u0430\u0431\u0438\u0440\u0430\u0435\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u043e\u0447\u043a\u043e\u0432. \u0412 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u043f\u043e \u0437\u0440\u0435\u043b\u043e\u0441\u0442\u0438 \u2014 \u044d\u0442\u043e \u0443\u0436\u0435 \u0434\u0430\u0432\u043d\u043e \u043d\u0435 \u0445\u0438\u043f\u0441\u0442\u0435\u0440\u0441\u043a\u0430\u044f \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0435\u0441\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b, \u043d\u043e \u0435\u0449\u0435 \u0438 \u043d\u0435 \u0441\u0442\u0430\u0440\u0438\u0447\u043e\u043a (\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0438 \u0442\u0435\u0445 \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0443\u0439\u043c\u0430). \u0418 \u0441\u0442\u0430\u0440\u0438\u0447\u043a\u043e\u043c, \u044f \u0434\u0443\u043c\u0430\u044e, \u0435\u0449\u0435 \u0434\u043e\u043b\u0433\u043e \u043d\u0435 \u0441\u0442\u0430\u043d\u0435\u0442, \u0442.\u043a. \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b \u0434\u043b\u044f \u0440\u043e\u0441\u0442\u0430 \u0438 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f \u0435\u0449\u0435 \u0435\u0441\u0442\u044c \u0438 \u0443 Ruby \u0438 \u0443 Rails \u2014 \u043d\u043e \u044d\u0442\u043e \u0442\u0435\u043c\u0430 \u0434\u043b\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438.<\/p>\n<p>  \u0418 \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u0438 \u043d\u0430 Rails, \u0438 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c \u0438\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u2014 Ruby \u044d\u0442\u043e \u0434\u0430\u043b\u0435\u043a\u043e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e Rails.<\/p>\n<p>  \u0412 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u044f \u0443\u0431\u0435\u0436\u0434\u0435\u043d, \u0447\u0442\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u0438\u0434\u0435\u0442\u044c \u0432 \u0441\u0432\u043e\u0435\u043c \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u043e\u043c \u043c\u0438\u0440\u043a\u0435 \u0442\u043e\u0433\u043e, \u0437\u0430 \u0447\u0442\u043e \u0435\u043c\u0443 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u043f\u043b\u0430\u0442\u044f\u0442 \u0437\u0430\u0440\u043f\u043b\u0430\u0442\u0443. Ruby \u0434\u0430\u0435\u0442 \u0432 \u044d\u0442\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e +1 \u044f\u0437\u044b\u043a \u0432 \u0440\u0435\u0437\u044e\u043c\u0435, \u043d\u043e \u0438, \u0437\u0430 \u0441\u0447\u0435\u0442 \u0441\u0432\u043e\u0435\u0439 \u043e\u043e\u043f-\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0438 \u0448\u0438\u0440\u043e\u043a\u0438\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c \u043c\u0435\u0442\u0430\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043e\u043f\u044b\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u044f\u0437\u044b\u043a\u0430\u0445 \u0438 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u0445.<\/p>\n<p>  <a href=\"http:\/\/habrahabr.ru\/post\/131661\/\">\u042f\u0437\u044b\u043a Ruby: \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u043f\u0435\u0440\u0441\u043f\u0435\u043a\u0442\u0438\u0432\u044b \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f<\/a>  <\/div>\n<\/div>\n<h4>Ruby<\/h4>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041d\u0430\u0447\u0430\u043b\u043e<\/b><\/p>\n<div class=\"spoiler_text\">\n<h5>\u041a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c Ruby \u043d\u0430 #{ os_name }?<\/h5>\n<p>  \u0421\u0430\u043c\u0438 \u0441\u0441\u044b\u043b\u043a\u0438:  <\/p>\n<ul>\n<li><a href=\"http:\/\/www.rubyinstaller.org\/downloads\/\">win<\/a>. \u041f\u043e \u0442\u043e\u0439 \u0436\u0435 \u0441\u0441\u044b\u043b\u043a\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 DevKit, \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0411\u0414 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 Native Extensions<\/li>\n<li>*nix \u2014 \u0438\u0449\u0438\u0442\u0435 \u0432 \u0441\u0432\u043e\u0438\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u0445, \u0438\u043b\u0438 <a href=\"http:\/\/www.ruby-lang.org\/ru\/downloads\/\">legacy<\/a><\/li>\n<\/ul>\n<p>  \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0435\u0441\u0442\u044c \u0442\u0430\u043a\u0430\u044f \u0448\u0442\u0443\u043a\u0430 \u043a\u0430\u043a <a href=\"https:\/\/rvm.io\/rvm\/install\">RVM<\/a>. \u041e\u043d\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0435\u0440\u0441\u0438\u0439 Ruby \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u041e\u0421 \u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438. \u041d\u0430 \u0441\u0442\u0430\u0440\u0442\u0435 \u0432 \u043d\u0435\u0439 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0438 \u043d\u0435\u0442, \u043d\u043e \u0431\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u0430, \u0435\u0441\u043b\u0438 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u0438\u043b\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u2014 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u043d\u0430 \u0432\u0441\u0435\u0445 \u0440\u0430\u0437\u043e\u043c \u0434\u043e \u043d\u043e\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0441\u0440\u0430\u0437\u0443 \u043d\u0435 \u043e\u0441\u043e\u0431\u043e \u0437\u0434\u043e\u0440\u043e\u0432\u043e. \u041f\u043e\u043a\u0430 \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u0438\u043c\u0435\u0439\u0442\u0435 \u0432\u0432\u0438\u0434\u0443, \u0447\u0442\u043e \u043e\u043d\u0430 \u0435\u0441\u0442\u044c.<br \/>  <a href=\"http:\/\/habrahabr.ru\/post\/120504\/\">\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043f\u0440\u043e RVM<\/a> \u043d\u0430 \u0445\u0430\u0431\u0440\u0435.<\/p>\n<p>  \u0422\u0443\u0442 \u0436\u0435 \u0441\u0442\u043e\u0438\u0442 \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u044c \u043f\u0440\u043e \u0441\u0440\u0435\u0434\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438. \u042f \u043f\u0440\u0438\u0432\u0435\u0440\u0436\u0435\u043d\u0435\u0446 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 JetBrains, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e <a href=\"http:\/\/www.jetbrains.com\/ruby\/\">RubyMine<\/a>, \u043d\u043e \u0432\u0432\u0438\u0434\u0443 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442 \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0438\u0439 \u043a\u043e\u043c\u0443-\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0439\u0442\u0438\u0441\u044c \u043f\u043e \u0432\u043a\u0443\u0441\u0443 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u0430\u044f <a href=\"http:\/\/www.aptana.com\/\">Aptana Studio<\/a>. \u0415\u0441\u043b\u0438 \u0436\u0435 \u043f\u0440\u0438\u044f\u0442\u043d\u0435\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043b\u0435\u0433\u043a\u0438\u043c\u0438 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u043c\u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430\u043c\u0438 \u2014 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 Ruby \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043c\u043d\u043e\u0433\u0438\u043c\u0438.<\/p>\n<p>  \u041f\u0440\u044f\u043c\u043e \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0432 \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435 Ruby \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043d\u0430 <a href=\"http:\/\/tryruby.org\/\">tryruby.org<\/a>  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0412\u0441\u0435 &#8212; \u043e\u0431\u044a\u0435\u043a\u0442<\/b><\/p>\n<div class=\"spoiler_text\">\u0412\u043a\u043b\u044e\u0447\u0430\u044f \u0447\u0438\u0441\u043b\u0430, \u0441\u0442\u0440\u043e\u043a\u0438 \u0438 \u0434\u0430\u0436\u0435 nil \u2014 \u043e\u043d\u0438 \u0432\u0441\u0435 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u044e\u0442\u0441\u044f \u043e\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 Object. \u041c\u043e\u0436\u043d\u043e \u0443 \u0447\u0435\u0433\u043e \u0443\u0433\u043e\u0434\u043d\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c \u043c\u0435\u0442\u043e\u0434\u044b \u0432\u0440\u043e\u0434\u0435 nil?, class, methods \u0438 respond_to?:  <\/p>\n<pre><code class=\"ruby\">'Hello world'.class # String nil.class # NilClass String.class # Class nil.nil? # true Object.new.methods # \u0432\u0435\u0440\u043d\u0435\u0442 \u043c\u0435\u0442\u043e\u0434\u044b \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u043a\u043b\u0430\u0441\u0441\u0430 Object; \u0442\u0443\u0442 \u0436\u0435 \u0432\u0438\u0434\u043d\u043e \u043a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u043e\u0432\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 - \u0442\u043e\u0436\u0435 \u0432\u044b\u0437\u043e\u0432\u0430\u043c \u043c\u0435\u0442\u043e\u0434\u0430 nil.respond_to?('nil?') # true <\/code><\/pre>\n<p>\u041f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e: \u044d\u0442\u043e \u0432\u0430\u0436\u043d\u043e \u0434\u043b\u044f <a href=\"http:\/\/ru.wikipedia.org\/wiki\/%D0%A3%D1%82%D0%B8%D0%BD%D0%B0%D1%8F_%D1%82%D0%B8%D0%BF%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F\">\u0443\u0442\u0438\u043d\u043e\u0439 \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u0438<\/a>.  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u0438 \u043f\u0443\u0434\u0440\u0430<\/b><\/p>\n<div class=\"spoiler_text\">Ruby \u0441\u0438\u043b\u044c\u043d\u043e \u043f\u0440\u0438\u043f\u0440\u0430\u0432\u043b\u0435\u043d \u00ab\u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0441\u0430\u0445\u0430\u0440\u043e\u043c\u00bb, \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0433\u043e\u0440\u043e\u0434\u0438\u0442\u044c \u043a\u0430\u0448\u0443 \u0438\u0437 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u043a\u043e\u0431\u043e\u043a, \u0442\u043e\u0447\u0435\u043a \u0441 \u0437\u0430\u043f\u044f\u0442\u044b\u043c\u0438 \u0438 \u043f\u0440\u043e\u0447\u0435\u0433\u043e. \u0410 \u043f\u043e\u0434 \u043d\u0438\u043c \u2014 \u043f\u0440\u043e\u0441\u0442 \u0438 \u043b\u043e\u0433\u0438\u0447\u0435\u043d, \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u043f\u0430\u0440\u0430\u0434\u0438\u0433\u043c\u0443 \u00ab\u0432\u0441\u0435 \u2014 \u043e\u0431\u044a\u0435\u043a\u0442\u00bb.  <\/p>\n<pre><code class=\"ruby\">a == b # \u0442\u043e \u0436\u0435, \u0447\u0442\u043e \u0438 a.==(b) # \u0442\u043e \u0435\u0441\u0442\u044c .==() - \u044d\u0442\u043e \u043c\u0435\u0442\u043e\u0434 <\/code><\/pre>\n<p>  \u0412 \u0432\u044b\u0437\u043e\u0432\u0430\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432, \u0432 if \u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u043a\u043e\u0431\u043a\u0438, \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 \u043d\u0435\u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e\u0441\u0442\u0438  <\/p>\n<pre><code class=\"ruby\">nil.respond_to?('nil?') # true nil.respond_to? 'nil?' # true # \u0432\u0441\u0435 \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e: if nil.respond_to? 'nil?'   puts 'ok' end # \u0442\u043e\u0436\u0435 if 10.between? 1, 5   puts 'ok' end # \u0430 \u0432\u043e\u0442 \u0442\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u043d\u0435 \u0442\u043e\u0442 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442 \u0432\u044b\u0437\u043e\u0432\u043e\u0432, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0443\u0436\u043d\u044b \u0441\u043a\u043e\u0431\u043a\u0438 if 10.between?(1, 50) && 20.between?(1, 50)   puts 'ok' end <\/code><\/pre>\n<p>  \u0410 \u0435\u0449\u0435 \u2014 \u0435\u0441\u0442\u044c <a href=\"http:\/\/habrahabr.ru\/post\/48993\/\">\u0441\u0438\u043c\u0432\u043e\u043b\u044b<\/a>. \u041f\u043e \u0441\u0443\u0442\u0438, \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u2014 \u044d\u0442\u043e \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u043d\u0438 \u0447\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u043a\u0430\u043a \u043a\u043b\u044e\u0447\u0438 \u0432 \u0445\u044d\u0448\u0430\u0445.  <\/p>\n<pre><code class=\"ruby\">a = :nil? # \u0441\u0438\u043c\u0432\u043e\u043b b = 'nil?' # \u0441\u0442\u0440\u043e\u043a\u0430 nil.respond_to? a # true nil.respond_to? b # true # \u043f\u043e\u0438\u0433\u0440\u0430\u0435\u043c\u0441\u044f a == b # false a.to_s == b && a == b.to_sym # true; \u0441\u0438\u043c\u0432\u043e\u043b \u0438 \u0441\u0442\u0440\u043e\u043a\u0430 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0442\u0441\u044f \u0434\u0440\u0443\u0433 \u0432 \u0434\u0440\u0443\u0433\u0430 <\/code><\/pre>\n<p>  \u0421 \u043d\u0438\u043c\u0438 \u0441\u0432\u044f\u0437\u0430\u043d\u043e \u0435\u0449\u0435 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u0443\u0434\u0440\u044b:  <\/p>\n<pre><code class=\"ruby\">a = {:key1 =&gt; 'value1', :key2 =&gt; 'value2'} # \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0445\u044d\u0448 (\u0430\u0441\u0441\u043e\u0446\u0438\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432) a = {key1: 'value1', key2: 'value2'} # \u0435\u0441\u043b\u0438 \u043a\u043b\u044e\u0447\u0438 - \u0441\u0438\u043c\u0432\u043e\u043b\u044b, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043a (Ruby &gt;= 1.9.3) <\/code><\/pre>\n<p>\u0420\u0430\u0437 \u0443\u0436 \u0442\u0435\u043c\u0430 \u0437\u0430\u0448\u043b\u0430:  <\/p>\n<pre><code class=\"ruby\">a = ['value1', 'value2'] # \u044d\u0442\u043e \u043c\u0430\u0441\u0441\u0438\u0432 s = 'String' s = &quot;Double-quoted #{s}&quot; # &quot;Double-quoted String&quot; - \u044d\u0442\u043e, \u0434\u0443\u043c\u0430\u044e, \u044f\u0441\u043d\u043e <\/code><\/pre>\n<p>  \u0418 \u0434\u043e\u0431\u044c\u0435\u043c \u0442\u0435\u043c\u0443 \u043f\u0440\u0438\u043f\u0443\u0434\u0440\u0438\u0432\u0430\u043d\u0438\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0443\u0440\u043e\u0434\u043b\u0438\u0432\u044b\u043c, \u043d\u043e \u0437\u0430\u0442\u043e \u0443\u0434\u043e\u0431\u043d\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c \u0437\u0430\u043f\u0438\u0441\u0438:  <\/p>\n<pre><code class=\"ruby\">%w[value1 value2] # [&quot;value1&quot;, &quot;value2&quot;] - \u0442\u043e\u0442 \u0436\u0435 \u043c\u0430\u0441\u0441\u0438\u0432, \u0447\u0442\u043e \u0438 \u0432\u044b\u0448\u0435 %i[value1 value2] # [:value1, :value2] - \u043c\u0430\u0441\u0441\u0438\u0432 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432, (Ruby &gt;= 2.0) s = %q(String) s = %Q(Double-quoted #{s}) %x('ls') # \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 %r(.*) == \/.*\/ # true; \u0434\u0432\u0430 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 <\/code><\/pre>\n<p>  \u041a\u0441\u0442\u0430\u0442\u0438, \u0432 Ruby \u0435\u0441\u0442\u044c \u043c\u043d\u043e\u0433\u0438\u043c \u0434\u043e \u0431\u043e\u043b\u0438 \u0437\u043d\u0430\u043a\u043e\u043c\u0430\u044f \u0442\u043e\u0447\u043a\u0430 \u0441 \u0437\u0430\u043f\u044f\u0442\u043e\u0439 \u2014 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u043e\u043d\u0430 \u043c\u043e\u0436\u0435\u0442 \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0432 \u043e\u0434\u043d\u0443 \u0441\u0442\u0440\u043e\u043a\u0443  <\/p>\n<pre><code class=\"ruby\">a = 10; puts a # \u0432\u044b\u0432\u0435\u0434\u0435\u0442 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c 10 if nil.respond_to? 'nil?'; puts 'ok'; end # \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e - \u0442\u0430\u043a \u0442\u043e\u0436\u0435 \u043c\u043e\u0436\u043d\u043e <\/code><\/pre>\n<p>\u041d\u043e \u043e\u0434\u043d\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0435 if \u043b\u0443\u0447\u0448\u0435 \u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0430\u043a  <\/p>\n<pre><code class=\"ruby\">puts 'ok' if nil.respond_to? 'nil?' <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0412\u0432\u043e\u0434\u043d\u044b\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u0438 \u0434\u043e\u043a\u0438<\/b><\/p>\n<div class=\"spoiler_text\">\u0421\u0442\u043e\u0438\u0442 \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"http:\/\/www.ruby-lang.org\/ru\/documentation\/ruby-from-other-languages\/\">\u0412 Ruby \u0438\u0437 \u0434\u0440\u0443\u0433\u0438\u0445 \u044f\u0437\u044b\u043a\u043e\u0432<\/a> \u0438 <a href=\"http:\/\/www.ruby-lang.org\/ru\/documentation\/quickstart\/\">Ruby \u0437\u0430 \u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044c \u043c\u0438\u043d\u0443\u0442<\/a>, \u043d\u0443 \u0430 \u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u0434\u0440\u0443\u0433 \u0438 \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a <a href=\"http:\/\/ruby-doc.org\/\">ruby-doc.org<\/a>.<br \/>  \u0421\u0440\u0430\u0437\u0443 \u0441\u0442\u043e\u0438\u0442 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043c\u0435\u0442\u043e\u0434\u044b \u0431\u0430\u0437\u043e\u0432\u044b\u0445 \u043a\u043b\u0430\u0441\u0441\u043e\u0432, \u0432\u043e \u0432\u0441\u0435\u0445 \u2014 \u043a\u0430\u043a\u0438\u0435 \u0431\u044b\u0432\u0430\u044e\u0442 each_ \u0438 to_.<br \/>  <a href=\"http:\/\/ruby-doc.org\/core-2.0.0\/String.html\">String<\/a> (\u0442\u0443\u0442 \u2014 \u043f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c match, sub)<br \/>  <a href=\"http:\/\/ruby-doc.org\/core-2.0.0\/Array.html\">Array<\/a> (map, join, include?)<br \/>  <a href=\"http:\/\/ruby-doc.org\/core-2.0.0\/Hash.html\">Hash<\/a> (has_key?, has_value?, merge)<br \/>  \u0415\u0441\u043b\u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u044f \u0431\u0430\u043d\u043a\u0435\u0442\u0430: <a href=\"http:\/\/vk.com\/rgrimoire\">\u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0439 \u043f\u0430\u0431\u043b\u0438\u043a \u0441 \u043f\u043e\u0434\u0431\u043e\u0440\u043a\u043e\u0439 \u043c\u0430\u0433\u0438\u0438 \u043d\u0430 \u0420\u0443\u0431\u0438<\/a>.  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043b\u0430\u0441\u0441\u044b, \u043c\u0435\u0442\u043e\u0434\u044b, \u043c\u043e\u0434\u0443\u043b\u0438 \u0438 \u043c\u0435\u0442\u0430\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/b><\/p>\n<div class=\"spoiler_text\">\u041a\u043b\u0430\u0441\u0441\u044b \u0432 Ruby \u0432\u043f\u043e\u043b\u043d\u0435 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b, \u043d\u043e \u0432 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u0445 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043d\u0438\u043c\u0438 \u043a\u0440\u043e\u0435\u0442\u0441\u044f \u0432\u0441\u044f \u0441\u0438\u043b\u0430 \u0438 \u043f\u0440\u0435\u043b\u0435\u0441\u0442\u044c Ruby.  <\/p>\n<pre><code class=\"ruby\">class Foo   def bar     10 # \u043b\u044e\u0431\u043e\u0439 \u043c\u0435\u0442\u043e\u0434 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 - \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f   end   def baz(a)     bar + 20   end end puts Foo.new.baz(10) # 30 <\/code><\/pre>\n<p>  Module \u2014 \u043a \u043d\u0435\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u044c\u0441\u044f \u0438 \u043a\u0430\u043a \u043a \u043f\u0440\u0438\u043c\u0435\u0441\u0438, \u0438 \u043a\u0430\u043a \u043a \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0443 \u0438\u043c\u0435\u043d. \u0412\u043d\u0435\u0437\u0430\u043f\u043d\u043e? \u041f\u043e \u0441\u0443\u0442\u0438 \u2014 \u044d\u0442\u043e \u043d\u0430\u0431\u043e\u0440 \u043a\u043b\u0430\u0441\u0441\u043e\u0432, \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0438 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442, \u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438\u043c \u043c\u043e\u0436\u043d\u043e \u043d\u0430 \u0441\u0432\u043e\u0435 \u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u0435.  <\/p>\n<pre><code class=\"ruby\">module B # \u043a\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0435\u043d   class Foo     # \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440     def initialize(k) @k = k end # \u0437\u0430\u043f\u0438\u0448\u0435\u043c \u043c\u0435\u0442\u043e\u0434\u044b \u0432 \u043e\u0434\u043d\u0443 \u0441\u0442\u0440\u043e\u043a\u0443     def bar; @k + 20 end   end end puts B::Foo.new(3).bar # 23  module C # \u043a\u0430\u043a \u043f\u0440\u0438\u043c\u0435\u0441\u044c   def bar; @k + 25 end end class Foo   include C;   def initialize(k) @k = k end end puts Foo.new(3).bar # 28 <\/code><\/pre>\n<p>  \u0412 Ruby \u043a\u043b\u0430\u0441\u0441\u044b \u043c\u0443\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u044b, \u0438 \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u0430\u0442\u0447\u0438\u0442\u044c \u043f\u043e\u0441\u043b\u0435 \u0438\u0445 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f. \u0418 \u0442\u0443\u0442 \u0431\u0443\u0434\u044c\u0442\u0435 \u043e\u0441\u0442\u043e\u0440\u043e\u0436\u043d\u044b: \u0437\u0434\u0435\u0441\u044c \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442\u0441\u044f \u0442\u0435 \u0441\u0430\u043c\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0436\u043d\u043e \u00ab\u0432\u044b\u0441\u0442\u0440\u0435\u043b\u0438\u0442\u044c \u0441\u0435\u0431\u0435 \u0432 \u043d\u043e\u0433\u0443\u00bb \u2014 \u0442\u0430\u043a \u0447\u0442\u043e, \u0434\u0435\u043b\u0430\u044f \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435 \u043d\u0443\u0436\u043d\u043e \u0432\u0441\u0435\u0433\u0434\u0430 \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0442\u0447\u0435\u0442: \u0437\u0430\u0447\u0435\u043c, \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f, <s>\u043a\u0442\u043e \u0432\u0438\u043d\u043e\u0432\u0430\u0442 \u0438 \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c<\/s> \u0438 \u0435\u0441\u043b\u0438 \u0447\u0442\u043e \u2014 \u0432\u0438\u043d\u043e\u0432\u0430\u0442\u044b \u0441\u0430\u043c\u0438.  <\/p>\n<pre><code class=\"ruby\">class Foo   def bar; 20 end end class Foo # \u043f\u0430\u0442\u0447\u0438\u043c   def baz; bar + 2 end end puts Foo.new.baz # 22 # \u0438\u043b\u0438 \u043b\u0443\u0447\u0448\u0435 - \u0442\u0430\u043a: \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u0447\u0442\u043e \u044d\u0442\u043e \u043f\u0430\u0442\u0447 Foo.class_eval do   def bazz; bar + 3 end end puts Foo.new.bazz # 23 # \u043d\u043e \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 \u043d\u0430 \u0442\u043e \u0432\u0435\u0441\u043a\u043e\u0439 \u043f\u0440\u0438\u0447\u0438\u043d\u044b - \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043f\u0440\u0438\u043c\u0435\u0441\u0438 \u0438\u043b\u0438 \u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 class Boo &lt; Foo   def boo; bar + 2 end end puts Boo.new.boo # 22 # \u0438\u043b\u0438 \u0436\u0435 - \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0430\u0442\u0447\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0431\u044a\u0435\u043a\u0442, \u0430 \u043d\u0435 \u0441\u0430\u043c \u043a\u043b\u0430\u0441\u0441 a = Foo.new a.instance_eval do # \u043f\u0430\u0442\u0447\u0438\u043c \u043e\u0431\u044a\u0435\u043a\u0442   def booo; bar + 3 end end puts a.booo # 23 puts Foo.new.booo rescue puts 'error' # error; \u043a\u0441\u0442\u0430\u0442\u0438, \u0442\u0430\u043a \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043e\u0448\u0438\u0431\u043a\u0438 puts a.respond_to? :booo # true puts Foo.new.respond_to? :booo # false <\/code><\/pre>\n<p>\u0410 \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c instance_eval \u0434\u043b\u044f \u043a\u043b\u0430\u0441\u0441\u0430? \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u0434\u043e\u0431\u0430\u0432\u044f\u0442\u0441\u044f \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u044b.  <\/p>\n<pre><code class=\"ruby\">class Foo   def self.bar; 10 end # \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u0435\u0442\u043e\u0434 end puts Foo.bar # 10 Foo.instance_eval do   def baz; bar + 1 end end puts Foo.baz # 11 <\/code><\/pre>\n<p>\u0418\u0433\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u044d\u0442\u0438\u043c \u043c\u043e\u0436\u043d\u043e \u0432\u0434\u043e\u0432\u043e\u043b\u044c, \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u043f\u043e\u043c\u043d\u0438\u0442\u0435 \u2014 \u0431\u0435\u0440\u0435\u0433\u0438\u0442\u0435 \u043d\u043e\u0433\u0438.<\/p>\n<pre><code class=\"ruby\">class Foo   def self.add_bar # \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u0435\u0442\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0430\u0442\u0447\u0438\u0442 \u043a\u043b\u0430\u0441\u0441 \tself.class_eval do \t  def bar; 'bar' end \tend   end end puts Foo.new.respond_to? :bar # false class Boo &lt; Foo # \u043e\u0442\u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c\u0441\u044f   add_bar # \u043f\u0440\u043e\u043f\u0430\u0442\u0447\u0438\u043c end puts Boo.new.bar # bar  # \u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u0432\u0441\u0435 \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435, \u043d\u043e \u043f\u0440\u043e\u043f\u0430\u0442\u0447\u0438\u043c \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043a\u043b\u0430\u0441\u0441 Foo.instance_eval do   def add_baz     self.class_eval do       def baz; 'baz' end     end\t   end end class Baz &lt; Foo   add_baz end puts Baz.new.baz # baz <\/code><\/pre>\n<p>  \u041a\u0430\u043a \u0440\u0430\u0437 \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u2014 \u043f\u043e \u0441\u0443\u0442\u0438, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0447\u0442\u043e-\u0442\u043e \u0432\u0440\u043e\u0434\u0435 \u043f\u0440\u0438\u043c\u0435\u0441\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b. \u042d\u0442\u043e \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043c\u0430\u0433\u0438\u0435\u0439, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0437\u043d\u0430\u0442\u044c, \u043a\u0430\u043a \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f. \u041f\u0430\u0442\u0447\u0438\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u0438 \u0431\u0430\u0437\u043e\u0432\u044b\u0435 \u043a\u043b\u0430\u0441\u0441\u044b, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043b\u044e\u0431\u0438\u043c\u044b Array \u0438 String \u2014 \u043d\u043e \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u0442\u043e\u0438\u0442 \u043f\u043e\u0434\u0443\u043c\u0430\u0442\u044c \u0442\u0440\u0438\u0436\u0434\u044b, \u043f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c \u0438\u0445 \u043c\u0443\u0447\u0438\u0442\u044c: \u043e\u0434\u043d\u043e \u0434\u0435\u043b\u043e \u043c\u0435\u0442\u043e\u0434\u044b \u0432\u0440\u043e\u0434\u0435 .blank? (\u0435\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 Rails: \u0447\u0442\u043e-\u0442\u043e \u0432\u0440\u043e\u0434\u0435 def blank?; nil? || empty? end), \u0434\u0440\u0443\u0433\u043e\u0435 \u2014 \u043a\u043e\u0433\u0434\u0430 \u043a\u043e\u0434 \u043c\u0435\u0442\u043e\u0434\u0430 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u0435\u043d \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0442\u043e\u0433\u0434\u0430 \u043b\u043e\u0433\u0438\u0447\u043d\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c, \u0447\u0442\u043e \u043e\u043d \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043a \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u043a\u043b\u0430\u0441\u0441\u0430\u043c \u0432\u043d\u0443\u0442\u0440\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/p>\n<p>  \u041f\u043e \u0442\u0430\u043a\u043e\u043c\u0443 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 acceessor. \u0427\u0442\u043e \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u0435\u043c, \u0447\u0442\u043e\u0431\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432 Ruby-\u043a\u043b\u0430\u0441\u0441?  <\/p>\n<pre><code class=\"ruby\">class Foo   def bar # \u0433\u0435\u0442\u0442\u0435\u0440     @bar # \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440   end   def bar=(val) # \u0441\u0435\u0442\u0442\u0435\u0440     @bar = val # \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0443   end end <\/code><\/pre>\n<p>  \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0435 \u0442\u0430\u043a \u043f\u0438\u0441\u0430\u0442\u044c \u0434\u043b\u044f \u0434\u0435\u0441\u044f\u0442\u043a\u0430-\u0434\u0440\u0443\u0433\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432? \u0412 Ruby \u043c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u043f\u043e \u043d\u0430\u043a\u0430\u0442\u0430\u043d\u043d\u043e\u043c\u0443 \u2014 \u0441\u043c\u0435\u0440\u0442\u043d\u044b\u0439 \u0433\u0440\u0435\u0445: DRY. \u0422\u0430\u043a \u0447\u0442\u043e, \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043e\u0440\u043e\u0447\u0435.  <\/p>\n<pre><code class=\"ruby\">class Foo   attr_accessor :bar, :baz # \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u0440\u0430\u0437\u0443 \u043f\u0430\u0440\u043e\u0447\u043a\u0443 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432   attr_reader :boo # \u0442\u043e\u043b\u044c\u043a\u043e \u0433\u0435\u0442\u0442\u0435\u0440   attr_writer :booo # \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u0442\u0442\u0435\u0440 end <\/code><\/pre>\n<p>  \u0413\u043e\u0442\u043e\u0432\u044b \u0434\u0430\u043b\u044c\u0448\u0435? \u0422\u043e\u0433\u0434\u0430:<br \/>  <a href=\"http:\/\/habrahabr.ru\/post\/143990\/\">\u0412\u043d\u0438\u043a\u0430\u0435\u043c \u0432 \u043c\u0435\u0442\u0430\u043a\u043b\u0430\u0441\u0441\u044b Ruby<\/a><br \/>  <a href=\"http:\/\/habrahabr.ru\/post\/50819\/\">Metaprogramming patterns \u2014 \u043f\u0440\u043e monkey patching<\/a>, <a href=\"http:\/\/habrahabr.ru\/post\/50169\/\">Reuse \u0432 \u043c\u0430\u043b\u043e\u043c \u2014 bang!<\/a>, <a href=\"http:\/\/habrahabr.ru\/post\/49951\/\">eval<\/a>  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0417\u0430\u043c\u044b\u043a\u0430\u043d\u0438\u044f \u0438 \u0431\u043b\u043e\u043a\u0438<\/b><\/p>\n<div class=\"spoiler_text\">\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043d\u0435\u0434\u043e\u0443\u043c\u0435\u043d\u0438\u0435 \u043f\u043e\u043d\u0430\u0447\u0430\u043b\u0443 \u0432\u044b\u0437\u044b\u0432\u0430\u044e\u0442 \u0431\u043b\u043e\u043a\u0438, \u0437\u0430\u043c\u044b\u043a\u0430\u043d\u0438\u044f \u0438 \u043a\u043b\u0430\u0441\u0441 Proc \u2014 \u0437\u0430\u0447\u0435\u043c \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0441\u0435\u0433\u043e? \u0412\u043a\u0440\u0430\u0442\u0446\u0435 \u2014 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u0435\u0441\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e Proc. <br \/>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u2014 \u0441\u0441\u044b\u043b\u043a\u0438 \u0432\u043d\u0438\u0437\u0443, \u0430 \u0441\u0435\u0439\u0447\u0430\u0441 \u0432\u043a\u0440\u0430\u0442\u0446\u0435 \u2014 \u043d\u0430 \u0447\u0442\u043e \u0441\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435.<br \/>  \u041f\u0435\u0440\u0432\u044b\u043c\u0438 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0431\u043b\u043e\u043a\u0438. \u0411\u043b\u043e\u043a \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043a\u0443\u0441\u043e\u043a \u043a\u0443\u0434\u0430, \u0438 \u0434\u0430\u0436\u0435 \u043d\u0435 \u043e\u0431\u044a\u0435\u043a\u0442, \u043f\u0440\u043e\u0441\u0442\u043e \u0447\u0430\u0441\u0442\u044c \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430 Ruby. \u0411\u043b\u043e\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043a\u043e\u0434 \u0432 \u043c\u0435\u0442\u043e\u0434. \u0418 \u0443\u0436\u0435 \u0432 \u043c\u0435\u0442\u043e\u0434\u0435 \u043e\u043d \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u0432\u0435\u0440\u043d\u0443\u0442 \u0435\u0433\u043e \u0432 \u043a\u043b\u0430\u0441\u0441 Proc.<br \/>  \u0412 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u043f\u0440\u043e \u043a\u043b\u0430\u0441\u0441\u044b \u0438 \u043c\u0435\u0442\u043e\u0434\u044b \u043e\u043d\u0438 \u0443\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438\u0441\u044c:  <\/p>\n<pre><code class=\"ruby\">Foo.instance_eval do # \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0432 \u043c\u0435\u0442\u043e\u0434 instance_eval \u0431\u043b\u043e\u043a \u0441 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435\u043c \u043c\u0435\u0442\u043e\u0434\u0430   def baz; bar + 1 end end <\/code><\/pre>\n<p>  \u041d\u043e \u0432\u043e\u0437\u044c\u043c\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u043d \u0436\u0435 \u00ab\u043a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c foreach \u0432 Ruby\u00bb:  <\/p>\n<pre><code class=\"ruby\">[1,2,3].each do |val|   p val # \u043a\u0441\u0442\u0430\u0442\u0438, p(val) - \u044d\u0442\u043e shortcut \u0434\u043b\u044f puts(val.inspect) end # \u0432\u044b\u0432\u043e\u0434\u0438\u0442 1 2 3  # \u0442\u043e \u0436\u0435, \u0432 \u043e\u0434\u043d\u0443 \u0441\u0442\u0440\u043e\u0447\u043a\u0443  [1,2,3].each { |val| p val } # \u0432\u044b\u0432\u043e\u0434\u0438\u0442 1 2 3 [1,2,3].each_with_index { |val, i| puts val.to_s + ' ' + i.to_s } # \u043d\u0430 \u0437\u0430\u043c\u0435\u0442\u043a\u0443 <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0436\u0435 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u0431\u043b\u043e\u043a \u0432 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434:  <\/p>\n<pre><code class=\"ruby\">def foo   puts yield # 2; \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0431\u043b\u043e\u043a   puts yield + yield # 4; \u0438 \u0435\u0449\u0435, \u0438 \u0435\u0449\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c end foo { 2 } def bar(&block) # \u0438\u043b\u0438, \u0435\u0441\u043b\u0438 \u043f\u043e\u043c\u0435\u043d\u044c\u0448\u0435 \u043f\u0443\u0434\u0440\u044b   puts yield block # 3 end bar { 3 } <\/code><\/pre>\n<p>  \u0421\u0442\u043e\u0438\u0442 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0431\u043b\u043e\u043a \u0438\u0434\u0435\u0442 \u0432\u0441\u0435\u0433\u0434\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c, \u0438 \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u043b\u043e\u043a\u043e\u0432 \u2014 \u043d\u0443\u0436\u043d\u043e \u0438\u0445 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c Proc.new, \u0438\u043b\u0438 lambda.<\/p>\n<p>  \u0418\u0437 \u0431\u043b\u043e\u043a\u0430 \u0432\u0441\u0435\u0433\u0434\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0431\u044a\u0435\u043a\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 Proc, \u043d\u043e \u0441\u0430\u043c \u0431\u043b\u043e\u043a \u044d\u0442\u043e \u0447\u0430\u0441\u0442\u044c \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430: \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0432 \u043c\u0435\u0442\u043e\u0434, \u0433\u0434\u0435 \u043e\u043d \u0441\u0442\u0430\u043d\u0435\u0442 Proc, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 Proc, \u0438\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c lambda, \u043d\u043e \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0431\u043b\u043e\u043a \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e.  <\/p>\n<pre><code class=\"ruby\">proc = Proc.new { |a| a - 1 } # \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 p proc.call(10) #9 p proc.class # Proc l = lambda { |a| a + 1 } # \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043b\u044f\u043c\u0431\u0434\u0443 p l.call(10) #11 p l.class # Proc new_l = -&gt;(a) { a + 2 } # \u0442\u043e\u0436\u0435 \u043b\u044f\u043c\u0431\u0434\u0430 (Ruby &gt;= 2.0) p new_l.call(10) #12 <\/code><\/pre>\n<p>  \u0420\u0430\u0437\u043b\u0438\u0447\u0438\u044f \u0432 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0438 Proc \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438 \u0435\u0441\u0442\u044c, <a href=\"http:\/\/habrahabr.ru\/post\/85578\/\">\u0447\u0438\u0442\u0430\u0435\u043c \u0441\u0442\u0430\u0442\u044c\u044e<\/a>.<br \/>  <a href=\"http:\/\/innig.net\/software\/ruby\/closures-in-ruby\">\u0417\u0434\u0435\u0441\u044c \u0437\u0430\u043c\u044b\u043a\u0430\u043d\u0438\u044f \u0438 \u0431\u043b\u043e\u043a\u0438 \u0432 Ruby \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043d\u044b \u0432\u0434\u043e\u043b\u044c \u0438 \u043f\u043e\u043f\u0440\u0435\u043a<\/a><br \/>  \u041d\u0430 \u0425\u0430\u0431\u0440\u0435 <a href=\"http:\/\/habrahabr.ru\/post\/86882\/\">\u043f\u0440\u043e \u0431\u043b\u043e\u043a\u0438<\/a>, <a href=\"http:\/\/habrahabr.ru\/post\/50665\/\">\u043f\u0440\u043e \u0437\u0430\u043c\u044b\u043a\u0430\u043d\u0438\u044f<\/a>  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u0442\u0438\u043b\u044c<\/b><\/p>\n<div class=\"spoiler_text\">\u041f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u043a\u0430\u043a \u043f\u0440\u0438\u043d\u044f\u0442\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u0432 Ruby <a href=\"https:\/\/github.com\/bbatsov\/ruby-style-guide\">\u0435\u0441\u0442\u044c \u0446\u0435\u043b\u044b\u0439 \u0433\u0430\u0439\u0434 \u043d\u0430 GitHub<\/a><br \/>  \u0412\u043a\u0440\u0430\u0442\u0446\u0435, frequently used:  <\/p>\n<ul>\n<li>\u041e\u0442\u0441\u0442\u0443\u043f\u044b \u0432 2 \u043f\u0440\u043e\u0431\u0435\u043b\u0430<\/li>\n<li>\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0441\u0442\u0440\u043e\u0447\u043d\u044b\u043c\u0438 \u0431\u0443\u043a\u0432\u0430\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 \u043f\u043e\u0434\u0447\u0435\u0440\u043a\u0438\u0432\u0430\u043d\u0438\u0435: def method_name<\/li>\n<li>\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0438 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0431\u0443\u043a\u0432: class ClassName<\/li>\n<li>\u0415\u0441\u043b\u0438 \u043c\u0435\u0442\u043e\u0434 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 true\/false, \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441 (\u0442\u043e\u0442 \u0436\u0435, nil?)<\/li>\n<li>\u0415\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u043c\u0435\u0442\u043e\u0434\u0430, \u043e\u0434\u0438\u043d \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442, \u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043d\u043e\u0432\u044b\u0439 \u2014 \u043f\u0435\u0440\u0432\u044b\u0439 \u043e\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430 &#8216;!&#8217; (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 )<\/li>\n<li>\u0412\u043c\u0435\u0441\u0442\u043e if(!value) \u043b\u0443\u0447\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0430\u043b\u0438\u0430\u0441 unless(value)<\/li>\n<li>\u0411\u043b\u043e\u043a \u043e\u0434\u043d\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0439 \u0431\u0435\u0440\u0435\u0442\u0441\u044f \u0432 \u0441\u043a\u043e\u0431\u043a\u0438 {\u2026 }, \u0430 \u043c\u043d\u043e\u0433\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0439 \u2014 \u0432 do\u2026 end<\/li>\n<\/ul>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">RubyGems &#8212; \u043f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\u041c\u0438\u0440 Ruby, \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u0431\u044b\u043b \u0431\u044b \u0441\u043e\u0432\u0441\u0435\u043c \u0434\u0440\u0443\u0433\u0438\u043c, \u0435\u0441\u043b\u0438 \u0431\u044b \u043d\u0435 RubyGems.<br \/>  \u0421 \u043d\u0438\u043c\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u043c\u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e:  <\/p>\n<ul>\n<li>\u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441 <a href=\"http:\/\/rubygems.org\/\">rubygems.org<\/a> (\u0438\u043b\u0438 \u0447\u0435\u0440\u0435\u0437 <a href=\"https:\/\/www.ruby-toolbox.com\/\">ruby-toolbox.com<\/a>), \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, json_pure \u2014 JSON \u043f\u0430\u0440\u0441\u0435\u0440 \u043d\u0430 \u0447\u0438\u0441\u0442\u043e\u043c Ruby (\u0431\u0435\u0437 C)<\/li>\n<li>\u0432\u0432\u043e\u0434\u0438\u043c \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 gem install json_pure<\/li>\n<li>\u0430 \u0432 \u043d\u0430\u0448\u0435\u043c rb-\u0444\u0430\u0439\u043b\u0435:\n<pre><code class=\"ruby\">require 'json\/pure' # \u043a\u0430\u043a\u043e\u0439 \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u0443\u0442\u044c \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0441\u0442\u043e\u0438\u0442 \u0432 \u0434\u043e\u043a\u0430\u0445 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043e\u0431\u044b\u0447\u043d\u043e \u043d\u0430 github<\/code><\/pre>\n<\/li>\n<\/ul>\n<p>  \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438 \u0435\u0441\u0442\u044c <a href=\"http:\/\/bundler.io\">bundler<\/a>:  <\/p>\n<ul>\n<li>gem install bundler<\/li>\n<li>bundler init<\/li>\n<li>\u0432 \u043f\u043e\u044f\u0432\u0438\u0432\u0448\u0435\u043c\u0441\u044f Gemfile \u0432\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438:\n<pre><code class=\"ruby\">source 'https:\/\/rubygems.org' gem 'json_pure' <\/code><\/pre>\n<\/li>\n<li>bundler install<\/li>\n<li>\u0418 \u0432 \u0441\u0432\u043e\u0435\u043c rb-\u0444\u0430\u0439\u043b\u0435\n<pre><code class=\"ruby\">require 'rubygems' require 'bundler\/setup' <\/code><\/pre>\n<\/li>\n<\/ul>\n<p>  \u0412 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445 \u0441\u043f\u0438\u0441\u043e\u043a \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u043c\u043e\u0436\u0435\u0442 \u0440\u0430\u0437\u0440\u0430\u0441\u0442\u0438\u0441\u044c \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044d\u043a\u0440\u0430\u043d\u043e\u0432, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c bundle install, \u0447\u0435\u043c \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0433\u0435\u043c\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c gem install. \u041d\u0443 \u0430 \u0432 Rails bundler \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438.<\/p>\n<p>  \u0421\u0430\u043c\u0438 Gems \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u044e \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u0440\u043e Rails.  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Ruby \u0438 C<\/b><\/p>\n<div class=\"spoiler_text\">\u0414\u0430\u043b\u0435\u043a\u043e \u043d\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u043f\u043e \u0432\u0430\u0436\u043d\u043e\u0441\u0442\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c RubyGems \u2014 Native Extensions. \u0412\u0441\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u2014 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0433\u0435\u043c\u043e\u043c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d \u043f\u0440\u0438\u043b\u0430\u0433\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u043a\u043e\u0434 \u043d\u0430 C \u0438 \u0432\u044b\u0437\u0432\u0430\u043d \u0438\u0437 \u043a\u043e\u0434\u0430 \u0441\u0430\u043c\u043e\u0433\u043e \u0433\u0435\u043c\u0430. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u044d\u0442\u043e\u043c\u0443, \u0441\u0440\u0435\u0434\u0438 \u043d\u0438\u0445 \u0435\u0441\u0442\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0448\u0443\u0441\u0442\u0440\u044b\u0435 \u043f\u0430\u0440\u0441\u0435\u0440\u044b, \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c JavaScript&#8217;\u043e\u0432\u044b\u0439 V8 \u0432 \u0432\u0438\u0434\u0435 \u0433\u0435\u043c\u0430, \u0438 \u043c\u043d\u043e\u0433\u043e \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u043a\u0443\u0441\u043d\u043e\u0441\u0442\u0435\u0439.<\/p>\n<p>  \u0410 \u044d\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0438\u043c\u0435\u0442\u044c \u0432\u0432\u0438\u0434\u0443: <a href=\"http:\/\/habrahabr.ru\/post\/48928\/\">Inline C<\/a>, \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f. \u0415\u0441\u043b\u0438 \u043a\u043e\u0440\u043e\u0442\u043a\u043e \u2014 \u0432 \u043a\u043e\u0434\u0435 Ruby \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043a\u043e\u0434 \u043d\u0430 C, \u0447\u0442\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0440\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432.<\/p>\n<p>  <a href=\"http:\/\/bitsofmind.wordpress.com\/2008\/07\/21\/ruby_extensions_in_c\/\">\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f Ruby \u043d\u0430 C<\/a>  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0417\u043e\u043e\u043f\u0430\u0440\u043a \u0432\u0435\u0440\u0441\u0438\u0439<\/b><\/p>\n<div class=\"spoiler_text\">MRI (Matz&#8217;s Ruby Interpreter) \u2014 \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0432\u0435\u0442\u043a\u0430 Ruby \u043e\u0442 \u0435\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044f Yukihiro Matsumoto, \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e, Matz. \u0420\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 C. \u041a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0433\u043e\u0432\u043e\u0440\u044f\u0442 \u00abRuby\u00bb \u043e\u0431\u044b\u0447\u043d\u043e \u0438\u043c\u0435\u044e\u0442 \u0432\u0432\u0438\u0434\u0443 \u0435\u0435. \u041e\u0434\u043d\u0430 \u0438\u0437 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0435\u0435 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0435\u0439 \u2014 \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0439 GIL (Global Interpreter Lock), \u043d\u0430 \u0425\u0430\u0431\u0440\u0435 \u043f\u0440\u043e \u043d\u0435\u0435 <a href=\"http:\/\/habrahabr.ru\/post\/189320\/\">\u043f\u0438\u0441\u0430\u043b\u0438<\/a> (<a href=\"http:\/\/habrahabr.ru\/post\/189486\/\">\u0441 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435\u043c<\/a>).<\/p>\n<p>  jRuby, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 Java \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 JVM, \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0441 \u043a\u043e\u0442\u043e\u043c \u043d\u0430 Java. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0432\u0435\u0440\u0441\u0438\u044f \u044f\u0437\u044b\u043a\u0430 \u043e\u0442\u0441\u0442\u0430\u0435\u0442 \u043e\u0442 MRI, \u043d\u043e \u0442\u043e\u0442 \u0436\u0435 Rails \u0437\u0430\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u043d\u0435\u043c \u0441 \u043f\u043e\u043b \u043e\u0431\u043e\u0440\u043e\u0442\u0430.<\/p>\n<p>  Rubinius, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0441\u043d\u043e\u0432\u0430\u043d \u043d\u0430 MRI, \u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043f\u043e\u0442\u043e\u043a\u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0430 \u0442\u0430\u043a \u0436\u0435 \u043f\u043e \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c\u0443 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u0441\u0430\u043c\u043e\u043c Ruby. \u041f\u043e \u0432\u0435\u0440\u0441\u0438\u0438 \u043e\u0431\u044b\u0447\u043d\u043e up do date.<\/p>\n<p>  \u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432\u0441\u0435\u0445 \u0442\u0440\u0435\u0445 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0430 \u0440\u0430\u0437\u043d\u0438\u0442\u0441\u044f \u043e\u0442 \u0437\u0430\u0434\u0430\u0447\u0438 \u043a \u0437\u0430\u0434\u0430\u0447\u0435, \u0430 \u043f\u043e \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u044e \u043f\u0430\u043c\u044f\u0442\u0438 \u0438\u0437 \u0442\u0440\u043e\u0438\u0446\u044b \u0441\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0436\u043e\u0440\u043b\u0438\u0432\u044b\u0439 \u2014 jRuby.<\/p>\n<p>  MacRuby \u2014 \u043e\u043d \u0443\u0436\u0435 \u0441\u0442\u043e\u0438\u0442 \u043d\u0430 \u0432\u0430\u0448\u0435\u043c MacBook \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 \u0441 Objective-C. \u0415\u0433\u043e, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 <a href=\"http:\/\/habrahabr.ru\/post\/143332\/\">RubyMotion<\/a> \u2014 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 iOS \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.<\/p>\n<p>  Opal \u2014 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0442\u043e\u0440 Ruby \u0432 JavaScript. \u041d\u043e \u043d\u0435 \u043d\u0430\u0434\u043e \u0436\u0434\u0430\u0442\u044c \u043e\u0442 \u043d\u0435\u0433\u043e \u0447\u0435\u0433\u043e-\u0442\u043e \u0432\u044b\u0434\u0430\u044e\u0449\u0435\u0433\u043e\u0441\u044f, \u044d\u0442\u043e \u043d\u0435 jRuby \u0434\u043b\u044f Node.js \u2014 \u043e\u043d \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0438\u0441\u0430\u0442\u044c \u0432\u0430\u0448 jQuery-\u043a\u043e\u0434 \u043d\u0430 Ruby.<\/p>\n<p>  Ruby Enterprise Edition (REE) \u2014 Ruby \u043d\u0430 \u0441\u0442\u0435\u0440\u043e\u0438\u0434\u0430\u0445. \u041f\u0440\u043e\u0435\u043a\u0442 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043b \u0441\u0432\u043e\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0435, \u0442.\u043a. \u043d\u043e\u0432\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u0438 \u0431\u0435\u0437 \u043d\u0430\u0440\u043a\u043e\u0442\u0438\u043a\u043e\u0432 \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u0431\u0435\u0433\u0430\u044e\u0442.<\/p>\n<p>  \u041c\u043e\u0436\u043d\u043e \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u044c MagLev \u2014 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f, \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f \u0434\u043b\u044f \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u043b\u0430\u0447\u043d\u043e\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b.<\/p>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0435\u043d \u043f\u0440\u043e\u0435\u043a\u0442 mruby, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u0435\u0442 Matz. \u042d\u0442\u043e \u2014 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0439 Ruby. \u041f\u0440\u043e\u0435\u043a\u0442 \u0435\u0449\u0435 \u043d\u0435 \u0437\u0430\u043a\u043e\u043d\u0447\u0435\u043d, \u043d\u043e \u0432\u0435\u0441\u044c\u043c\u0430 \u043c\u043d\u043e\u0433\u043e\u043e\u0431\u0435\u0449\u0430\u044e\u0449\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442. <s>\u0422\u0430\u043a, \u0447\u0442\u043e \u0436\u0434\u0435\u043c ruby \u043d\u0430 Arduino.<\/s> <a href=\"https:\/\/github.com\/kyab\/mruby-arduino\">mruby-arduino<\/a>  <\/div>\n<\/div>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/206416\/\"> http:\/\/habrahabr.ru\/post\/206416\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u0415\u0449\u0435 \u043a\u043e\u0433\u0434\u0430 \u0443\u0447\u0438\u043b\u0441\u044f \u0432 \u0448\u043a\u043e\u043b\u0435, \u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b\u0441\u044f \u044f\u0437\u044b\u043a\u0430\u043c\u0438, \u044f \u0441\u0447\u0438\u0442\u0430\u043b, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043a\u0443\u043f\u0430\u0442\u044c \u0434\u0432\u0435 \u043a\u043d\u0438\u0433\u0438 \u043f\u043e \u043b\u044e\u0431\u043e\u043c\u0443 \u044f\u0437\u044b\u043a\u0443: \u043f\u0435\u0440\u0432\u0443\u044e \u2014 \u00ab\u0434\u043b\u044f \u0447\u0430\u0439\u043d\u0438\u043a\u043e\u0432\u00bb \u0438 \u0432\u0442\u043e\u0440\u0443\u044e \u2014 \u00ab\u043c\u0430\u0441\u0442\u0435\u0440\u00bb. \u0412 \u043f\u0435\u0440\u0432\u043e\u0439 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0432\u0441\u0435 hints \u2014 \u0430 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u043e\u043b\u0438\u0441\u0442\u0430\u0442\u044c, \u0430 \u0432\u0442\u043e\u0440\u0430\u044f \u2014 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u0430\u044f (\u0441\u0435\u0439\u0447\u0430\u0441 \u0435\u0435 \u0437\u0430\u043c\u0435\u043d\u0438\u043b Google). \u0418 \u043f\u043e\u0434\u0445\u043e\u0434 \u0432\u043f\u043e\u043b\u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b. \u0422\u0435\u043f\u0435\u0440\u044c, \u0441 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435\u043c \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430, \u0442\u0430\u043a\u043e\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u043a\u0443\u0434\u0430-\u0442\u043e \u0443\u043b\u0435\u0442\u0443\u0447\u0438\u043b\u0441\u044f, \u0438 \u043f\u0440\u0438 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u0438 \u043d\u0443\u0436\u043d\u043e \u043f\u043e \u043a\u0440\u0443\u043f\u0438\u0446\u0430\u043c \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u2014 \u0432\u0441\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b \u043b\u0438\u0431\u043e \u0443\u0436\u0435 \u00abpro\u00bb, \u043b\u0438\u0431\u043e \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442 \u2014 \u0430\u0437\u044b, \u0431\u0435\u0437 \u00ab\u0441\u0430\u043c\u043e\u0433\u043e \u0441\u043e\u043a\u0430\u00bb \u0438 \u043c\u043d\u043e\u0433\u0438\u0445 \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u0432\u0430\u0436\u043d\u044b\u0445 \u0432\u0435\u0449\u0435\u0439, \u0438\u043b\u0438 \u0436\u0435 \u2014 \u0432\u0441\u0435 \u0441\u0440\u0430\u0437\u0443 \u0438 \u0432 \u043a\u0443\u0447\u0443 \u043d\u0430 &gt;9999 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445.<\/p>\n<p>  \u042d\u0442\u043e \u2014 \u0441\u0442\u0430\u0442\u044c\u044f-roadmap-cheatsheet \u0434\u043b\u044f \u0438\u0437\u0443\u0447\u0430\u044e\u0449\u0438\u0445 Ruby \u0438 Rails (Rails \u0438 Gems \u0437\u0430\u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043d\u0430 \u0432\u0442\u043e\u0440\u0443\u044e \u0447\u0430\u0441\u0442\u044c). \u0412\u043c\u0435\u0441\u0442\u043e \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 how-to \u044f \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u044e\u0441\u044c \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u0442\u044c \u0432\u0441\u0435 \u0442\u0435 \u0432\u0435\u0449\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435, \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u043b\u043e\u0436\u0438\u0442\u044c \u043a\u0440\u0430\u0442\u043a\u043e \u0438 \u0435\u043c\u043a\u043e, \u0441 \u0443\u043f\u043e\u0440\u043e\u043c \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0443 \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0435\u043c\u0443 \u0441 \u0434\u0440\u0443\u0433\u0438\u0445 \u044f\u0437\u044b\u043a\u043e\u0432 \u0438 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043d\u0435 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u043c, \u0430\u043d\u0442\u0438\u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u043c \u0438 \u043f\u0440\u043ec\u0442\u043e \u0437\u0430\u0442\u0440\u0430\u0442\u043d\u044b\u043c \u043f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u0435 \u0431\u0435\u0437 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043e\u043a \u2014 \u043d\u0430 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u0430\u043c \u0441\u0441\u044b\u043b\u043a\u0438 (\u0438 \u0435\u0441\u0442\u044c Google \u2014 \u043d\u043e \u0432\u0435\u0434\u044c \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u043f\u0443\u0442\u0438, \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e \u0447\u0442\u043e \u0443 \u043d\u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044c). \u041d\u0435 \u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0432 \u043f\u0440\u0438\u0440\u043e\u0434\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u043e\u0432\/\u043a\u0430\u0441\u0442\u043e\u0432\/\u043a\u043d\u0438\u0433\/\u0447\u0435\u0433\u043e \u0443\u0433\u043e\u0434\u043d\u043e \u043f\u043e \u0447\u0435\u043c\u0443 \u0443\u0433\u043e\u0434\u043d\u043e \u2014 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u043e\u0433\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u043c\u043d\u0435 \u0441\u0430\u043c\u043e\u043c\u0443 \u0432\u0441\u0435\u0433\u0434\u0430 \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442. \u0418 \u043f\u043e \u0441\u0443\u0442\u0438, \u044d\u0442\u043e \u0442\u0435 \u0432\u0435\u0449\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u044e \u043f\u0440\u0438 \u0432\u043e\u043f\u0440\u043e\u0441\u0430\u0445 \u00ab\u0430 \u043a\u0430\u043a \u043e\u043d\u043e \u0432\u043e\u043e\u0431\u0449\u0435?\u00bb, \u00ab\u0441 \u0447\u0435\u0433\u043e \u043d\u0430\u0447\u0430\u0442\u044c?\u00bb, \u00ab\u0430 \u043a\u0430\u043a \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u0430\u044f \u0432\u043e\u0442 \u0448\u0442\u0443\u043a\u0430?\u00bb, \u00ab\u0430 \u043a\u0430\u043a\u043e\u0439 gem \u043b\u0443\u0447\u0448\u0435?\u00bb \u2014 \u0442\u0435\u043f\u0435\u0440\u044c \u0431\u0443\u0434\u0443 \u043a\u0438\u0434\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u0441\u044e\u0434\u0430) \u041a\u0441\u0442\u0430\u0442\u0438, \u043f\u043e\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043d\u0430\u0434 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435\u0439 <a href=\"http:\/\/habrahabr.ru\/post\/205944\/\">\u043d\u0430 \u0425\u0430\u0431\u0440\u0435 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043f\u043e\u0445\u043e\u0436\u0430\u044f \u043f\u0440\u043e Python<\/a> \u2014 \u0432\u0438\u0434\u0438\u043c\u043e, \u0438\u0434\u0435\u044f \u0432\u0438\u0442\u0430\u0435\u0442 \u0432 \u0432\u043e\u0437\u0434\u0443\u0445\u0435.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-206416","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/206416","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=206416"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/206416\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=206416"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=206416"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=206416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}