A collection of awesome Ruby libraries, tools, frameworks and software
A collection of awesome Ruby libraries, tools, frameworks and software
æ¦è¦ åèè ã®è¨±è«¾ãå¾ã¦ç¿»è¨³ã»å ¬éãããã¾ãã è±èªè¨äº: The design decisions and evolution of a method definition - Ruby case study åæå ¬éæ¥: 2024/06/14 åèè : zverok æ¥æ¬èªã¿ã¤ãã«ã¯å 容ã«å³ãããã®ã«ãã¾ãããã¾ãã主ã«Ruby以å¤ã®ã¦ã¼ã¶ã¼ã«åãããµã¤ãã¹ãã¼ãªã¼çãªãã©ã°ã©ãã¯å²ã¿ã¹ã¿ã¤ã«ã«ãã¦ãã¾ãã æ¬è¨äºã¯ãæ°ã·ãªã¼ãºè¨äºã®ãã¼ã1ã§ãããããããæ¸ç±ã®ä¸é¨ã¨ãã¦åé²ããããã¨ãè¦è¾¼ã¾ãã¦ãã¾ããRubyããã°ã©ãã³ã°è¨èªãè¨è¨ãããã¨ãã®ãã¾ãã¾ãªæ±ºå®äºé ã¨ãããããæã¨ã¨ãã«ã©ã®ããã«é²åããããããåºãæèã§ã¯ã©ã®ããã«æãããããã«ã¤ãã¦ç 究ãã¾ãã ä»åã¯ã¡ã½ããå®ç¾©ï¼method definitionsï¼ãã¤ã¾ãã¡ã½ããå®ç¾©ã®ä¸è¬çãªå½¢ã¨ãå¼æ°ã®æå®æ¹æ³ãæ±ãã¾ã
çªã®æã§åãä¸ãã¦ããã ããå¾ãå®è£ ã¯å°ããã¤ç¶ãã¦ãã¦ãã²ã¨ã¾ããã©ã¦ã¶ä¸ã§ææ°ã®Rubyã試ãã®ã«å¿ è¦ãªæ©è½ã¯ä¸éãå®è£ ã§ããããããªããã¨æãããªãã¡ã¬ã³ã¹ããã¥ã¢ã«ã¸ã®ãªã³ã¯ãè²¼ã£ã¦ã·ã³ã¿ãã¯ã¹ãã¤ã©ã¤ããå ¥ãããCtrl+Enterã§å®è¡ã§ããããã«ããã(èªåãæ¸ãããµã³ãã«ã³ã¼ãã¯Scrapboxã«ããã®ã§ã³ãããã¦è©¦ãã¾ã) https://rubyonbrowser.ongaeshi.me/ ã¢ãã¤ã«ã§ãç°¡åãªã³ã¼ãã ã£ããæ¸ããããã«è²ã 工夫ããã®ã§ã¡ãã£ã¨ããã³ã¼ããæ¸ãããã¨ãã«ãã²è©¦ãã¦ã¿ã¦ã»ããã(Select Allãã¿ã³ã¯çµæ§ãã ãã£ã) ä»ã®ãã©ã¦ã¶è¨èªå¦çç³»ã¨å¤§ããéããã¨ã¨ãã¦ããã¡ã¤ã«ãèªã¿æ¸ãããAPIã使ãããã¨ãããã¨ããããå ã WASIãWASMã«ãã¡ã¤ã«IOãéä¿¡ãæããããã¨ãç®çã«ãããã®ãªã®ã§Ruby WASM/WASIèªä½ããã¡ã¤ã«
Ruby ã§ã¯ `RubyVM::AbstractSyntaxTree` 㧠AST ãåå¾ããäºãã§ãã¾ãã ãã® AST æ å ±ãå ã«ã㦠Ruby ã®ã³ã¼ãã«å¤æããæ©è½ãå®è£ ãã¾ããã ãããå©ç¨ãããã¨ã§ AST ã¬ãã«ã§ Ruby ã®ã³ã¼ããå¤æ´ãã¦å®è¡ããäºãã§ããããã«ãªãã¾ãã â¦
Ruby ã®æ£è¦è¡¨ç¾ã§ç´ æ°ãã©ããã確èªããæ¹æ³ ä½ææ¥ 2018.09.11 æ´æ°æ¥ 2018.09.13 Regex Ruby Ruby ã®æ£è¦è¡¨ç¾ã使ã£ã¦, ç´ æ°ãã©ããã確èªããã¡ã½ãããä½ã£ã¦ã¿ã¾ãã. ããã©ã¼ãã³ã¹ã¯æ£ç´å ¨ç¶è¯ããªãã®ã§ãã, ä½èã®æ§ãªãã®ã¨ãã¦ã¯é¢ç½ãã®ã§ã¯ãªããã¨æãã¾ã. æ£è¦è¡¨ç¾ã®èª¬æããã¾ã. ããããç´ æ°ã¨ããã®ã¯, ã©ã®æ§ãªæ°ãªã®ã§ãããã. Wikipedia ã«ããã¾ãã¨æ¬¡ã®ããã«å®ç¾©ããã¦ãã¾ã: ç´ æ°ï¼ããããè±: prime numberï¼ã¨ã¯ã1 ãã大ããèªç¶æ°ã§ãæ£ã®ç´æ°ã 1 ã¨èªåèªèº«ã®ã¿ã§ãããã®ã®ãã¨ã§ãããæ£ã®ç´æ°ã®åæ°ã 2 ã§ããèªç¶æ°ã¨è¨ãæãããã¨ãã§ããã ãªã®ã§ 0, 1, 4, 6, 8, 9, 10, 12 ã¨ãã£ãæ°ã¯ç´ æ°ã§ã¯ãªã, 2, 3, 5, 7, 11, 13 ã¨ãã£ãæ°ãç´ æ°ã«ãªãã¾ã.
Posted by naruse on 25 Dec 2020 Ruby 3.0ç³»åã®ãªãªã¼ã¹ã§ãããRuby 3.0.0 ãå ¬éããã¾ããã ããã¾ã§ãRuby3ã«åãã¦ããã©ã¼ãã³ã¹ã®æ¹åã並è¡å¦çãéç解æã¨ãã3ã¤ã®ç®æ¨ãæ²ãã¦ãæ´»çºã«éçºãè¡ããã¦ãã¾ãããç¹ã«ããã©ã¼ãã³ã¹ã®æ¹åã«ã¤ãã¦ã¯ãRuby 3x3 ã¨ãã¦ãRuby3ã¯Ruby2ã®3åéãããããã¨ãç®æãã¦ãã¾ããã Ruby 3.0ã§ã¯éçºã®ææ¨ã®ä¸ã¤ã¨ãã¦ããOptcarrotãã³ããã¼ã¯ã§3åãéæããã¨ã¨ãã«ã以ä¸ã®ãããªåãçµã¿ãè¡ããã¦ãã¾ãã benchmark-driver.github.io/hardware.html ã«æ¸ããã¦ããç°å¢ã§è¨æ¸¬ããã¾ããã 8c510e4095 ã Ruby 3.0 ã¨ãã¦ä½¿ããã¦ãã¾ããç°å¢ããã³ããã¼ã¯ã«ãã£ã¦ã¯3åã«ãªããªãããããã¾ããã Ruby 3 ã§ã¯
ä»æ¥ Ruby Hacking Challenge in Hamada.rb ã«åå ããã¨ãã« ruby_jard ã¨ãã Ruby ã®ãããã°ãã¼ã«ãæãã¦ãããã¾ããã ãããããªãåã¾ãããããã£ãã®ã§ã¡ãã£ã¨ã¾ã¨ãã¦ã¿ã¾ãã ruby_jard ã¨ã¯ ruby_jard ã¨ã¯ Ruby ã®ã³ã¼ãããããã°ãããã¼ã«ã«ãªãã¾ãã ruby_jard | Just another ruby debugger. Provide a better experience while debugging Ruby rubyjard.org ç«ã¡ä½ç½®ã¨ãã¦ã¯ byebug ã®ãããªãããã°ãã¼ã«ã«ãªã£ã¦ãããã³ã¼ãä¸ã§ jard ã¨ããã¡ã½ãããå¼ã³åºãã¨ãã®ã¿ã¤ãã³ã°ã§ããã»ã¹ãåæ¢ãã¦ãã³ã³ã½ã¼ã«ä¸ãã Ruby ã®ã³ã¼ããå®è¡ã§ãããããªå½¢ã«ãªã£ã¦ãã¾ãã å®éã«ã©ãããå½¢ã§ãããã°ããã®
Experience the sound of code. Sonic Pi is your free code-based music creation and performance tool. Powerful for professional musicians and DJs. Expressive for composition and performance. Accessible for blind and partially sighted people. Simple for computing and music lessons. Learn to code creatively by composing or performing music in an incredible range of styles from Classical & Jazz to Hip
This Ruby style guide recommends best practices so that real-world Ruby programmers can write code that can be maintained by other real-world Ruby programmers. A style guide that reflects real-world usage gets used, while a style guide that holds to an ideal that has been rejected by the people it is supposed to help risks not getting used at all - no matter how good it is. The guide is separated
ããã«ã¡ã¯ãhachi8833ã§ãã ãRubyã¹ã¿ã¤ã«ã¬ã¤ããèªããã·ãªã¼ãºã®ããã¯ãã³ãã¼ãæ¹å®ãããRubyã¹ã¿ã¤ã«ã¬ã¤ãï¼è§£èª¬ä»ãï¼ãã¨é¡ãã¦ç·ãããè¨äºã¨ãããã¾ããã æ¬ã¹ã¿ã¤ã«ã¬ã¤ãã®å ã«ãªã£ã¦ããbbatsov/ruby-style-guideã¯ãåãèè ã«ããRuboCop gemã§ä½¿ããã¦ããã¹ã¿ã¤ã«ã§ãã 誤ããåæã®è¿½å ã»æ´æ°ã«ãæ°ã¥ãã®å ´åã¯ãæ«å°¾ã®ãã©ã¼ã ã¾ãã¯@techrachoã§ãç¥ãããã ããã 1. ã½ã¼ã¹ã³ã¼ãã¬ã¤ã¢ã¦ã ï¼1ï¼ã¨ã³ã³ã¼ããã¯ã©ã¹å®ç¾©ãã¹ãã¼ã¹ãªã© éãçªå· ã«ãã´ãª ã¹ã¿ã¤ã«
Ruby Advent Calendar 2018 3æ¥ç®ã®è¨äºã«ãªãã¾ãã ãªãã¨ãæ¥ä»ãå¤ããåã«æ¸ãã¾ããâ¦ã ä½ãæ¸ãããè¿·ã£ããã§ããããã®è¨äºã§ã¯ä»å¹´ Ruby ã«ããããæãã¾ãã£ããã£ã¼ã㪠Refinements ã®ä¸çã«ã¤ãã¦æ¸ãã¦ã¿ãããã¨æãã¾ãã ããããçãã Refinements ã¯ä½¿ã£ã¦ãã¾ããï¼ã©ããªæ©è½ãç¥ã£ã¦ãã¾ããï¼ ã¾ã㯠Refinements ã«ã¤ãã¦ãããããã¦ã¿ã¾ãããã ã¯ã©ã¹æ¡å¼µã«ã¤ã㦠Ruby ã§ã¯ãªã¼ãã³ã¯ã©ã¹ã«å¯¾ãã¦ã¡ã½ãããæ¡å¼µããäºãåºæ¥ã¾ãã # Integer ã¯ã©ã¹ã«å¯¾ãã¦å¾ããã¡ã½ããã追å ããäºãåºæ¥ã class Integer def twice self + self end end # 追å ããã¡ã½ããã¯æ¢åã®ãªãã¸ã§ã¯ãããå¼ã³åºããã¨ãåºæ¥ãããã«ãªã p 42.twice # => 84 # ã¯ã©ã¹
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? Rails使ã£ã¦ä»äºãã¦ã¦ãæè¿ã¯Rubyã使ã£ã¦åå¦è ã®æ¹ãã¡ã«ããã°ã©ãã³ã°æãã¦ã¾ãã@saboyutakaã§ãã æªçµé¨ããã¨ã³ã¸ãã¢ã«ãªãããã¨ãã人éã«æ®æ®µæãã¦ãã¦ãã¬ã¤ãã©ã¤ã³ãããã¨ãããªã¨æã£ã¦ä½ãã¾ããã ã¾ããªãã§1000æéã ããããWebã¢ããªã±ã¼ã·ã§ã³ãä½ãã¨ã³ã¸ãã¢ã«ãªããã人ããããèªãã§ããã¦ããã¨æã£ã¦æ¸ãã¾ãããããããªãã¨ã³ã¸ãã¢ã¨ãã¦åãããã¨ããã¨ãä½ããããã®ããã人ãä¼æ¥ãå± ã¦ããããä½ããã¨ãã§ããæè½ã«å¯¾ãã¦çµ¦ä¸ãå ±é ¬ãçºçãã¾ããããã¦æè¡è·ã¨ãã¦ä»äºã§å¯¾ä¾¡ãå¾ãããæä½éã®ã¹ã¿
Rubyã®ãµã³ãããã¯ã¹ãä½ã£ã¦ãevalããBotãä½ã£ã posted at 2018-07-10 01:04:56 +0900 by kinoppyd 注æï¼å®å ¨ããããã¾ãã Rubyã®Snadboxç°å¢ Sansboxç°å¢ã¨ã¯ãå¤é¨ããå ¥åãããããã°ã©ã ãå®å ¨ã«å®è¡ããç°å¢ã®ãã¨ã§ããä»»æã®ã³ã¼ããå ¥åå¯è½ãªå ´æã§ããããªã system(ârm -rf ~/) ã¨ãå ¥åããã¦ããããæ¬å½ã«å®è¡ããããå°ãã¾ãããï¼ãèªåã¯å°ãã¾ããã§ãããå¤é¨ããå ¥åãããã³ã¼ããå®å ¨ã«å®è¡ããç°å¢ã¨ããã®ã¯ãããªãã«éè¦ããããæãããããããã¨ããã§ã¯JavaScriptãå®è¡ãããã©ã¦ã¶ããããã«ããã¨ããã§ã¯ä»åä½ããã¨ãã¦ããevalç¨ã®botã§ãã ãã©ã¦ã¶ã«é¢ãã¦ã¯ãã¤ã³ã¿ã¼ãããã¨ããé常ã«æ²»å®ã®æªãå ´æããéããã¦ããã³ã¼ããèªåã®ç°å¢ã§å®è¡ããã®ã§ããµã³ãããã¯ã¹ãå¿ è¦ã§
The Ruby Reference This book is a reference for the Ruby programming language. It describes the language structure, its core classes and standard library, and provides some additional useful information and links for Ruby development. The Reference is intended to be always up-to-date with the current Ruby version. Most of the reference content is taken directly from Ruby documentation and reorgani
ã¯ããã« Ovto(ãªãã)ã¨ããRubyã§æ¸ããã·ã³ãã«ãªã¯ã©ã¤ã¢ã³ããµã¤ãWebãã¬ã¼ã ã¯ã¼ã¯ãä½ãã¾ãããRubyããJavaScriptã¸ã®å¤æã«ã¯Opalã使ã£ã¦ãã¾ãã (2019/02/08追è¨ï¼Rubyist Magazineã«ç´¹ä»è¨äºãå¯ç¨¿ãã¾ãããæ¬è¨äºããå°ã詳ããã§ãã) (2018/11/02追è¨ï¼0.2.0ããªãªã¼ã¹ãã¾ãã) (2018/11/30追è¨ï¼ããã使ã£ã¦Visionã¨ããTODOã¢ããªãä½ãã¾ããã3ã¶æã»ã©å®ç¨ãã¦ãã¾ããã¨ã¦ãããæãã§ããã¯ã©ã¤ã¢ã³ãå´ã®ã³ã¼ãã¯ãã®ã¸ãã§ã) ç¹å¾´ Rubyã§æ¸ãã Redux風ã®API (Virtual DOMï¼ã·ã³ã°ã«ã¹ãã¼ã) hyperappã®å½±é¿ãå¼·ãåãã¦ãã¾ãã å®è£ ãçã(lib/以ä¸ã®åè¨ã721è¡) ä¾ ä¾ã¨ãã¦è¯æ°ã¨ææ°ãå¤æãããã¤ãããã¾ãã require 'ovto' class
Rubyãæ¸ãã¦ããã¨ããµã¼ããæ¸ããããªããã¨ãããã¾ããçãããããã ã¨æãã¾ãã ã¨ãããã¨ã§ä»æ¥ã¯Rubyã§ã¹ãã¨ãµã¼ããæ¸ãããã®gemãserverengineã®ç°¡åãªä½¿ãæ¹ã¡ã¢ã github.com Rubyã§ãµã¼ããæ¸ããããªã£ãæ ããããçã«ãRubyã§ãã ãµã¼ããæ¸ãã®ã¯é常ã«ç°¡åã§ãããå ·ä½çã«ã¯ Kernel#loop ãªã©ãåãã¦ãã®ä¸ã§ãªã¯ã¨ã¹ããå¾ ã£ãããä½ãããå¦çãè¡ãã°çµãããç¹å¥ãªgemã¯å¿ è¦ãªãããTCPãæ±ãã¯ã©ã¹ãªã©ãçµã¿è¾¼ã¿ã§ç¨æããã¦ããã 以ä¸ã®ãããª9è¡ã®ã¹ã¯ãªãããèµ·åããã°ããµã¼ããæ¸ããã¨è¨ãããã¨ãã㧠TCPServer#accept_nonblockã§ãªãã¨ãacceptã§ãããã¯ãã¦ãã¾ã£ã¦çµäºå¦çãé ãããããã®ã§ãã³ããããã³ã°ã®æ¹ã®APIã好ãã§ä½¿ãã®ãããã ããã require 'socket' server
æ¦è¦ åèè ã®è¨±è«¾ãå¾ã¦ç¿»è¨³ã»å ¬éãããã¾ãã è±èªè¨äº: You should not implement #to_a for your classes åæå ¬éæ¥: 2018/02/02 èè : zverok -- åãµã¤ããrubyreferences.github.ioãã®ä½è ã§ãããã¾ãã Ruby: èªåã®ã¯ã©ã¹ã«#to_aãå®è£ ãã¹ããããªãï¼ç¿»è¨³ï¼ ãã£ã¨ããã®ããã°ãã¨ãã©ãèªãã§ã人ãªãè¨èã®ãããããåç¥ã¨æãã¾ããã¾ãæ¸ãã¦ãã¾ã£ãã æ¨æ¶ä»£ããã«ãRubyã®ä¾¿å©ãªã¤ãã£ãªã ã®ã²ã¨ã¤ã§ããKernel#Arrayã¡ã½ããã«ã¤ãã¦è»½ããããããã¦ããã¾ããããã¾ãã®åããç¥ãããã©ãããªããArrayã«æ±ºã¾ã£ã¦ãã ãï¼ãã¨ãããã¤ã§ãã ãããã¼ã¿ãç¨ãã¦ä½æ¥ãã¦ããã¨ãã«ã1åã®å¤ãå¤ã®é åã®ã©ã¡ãããåãåãã¾ãã¯è¿ãå¯è½æ§ã®ããã¡ã½ããã使ããã¨ãã¾ãããããã®
Rubyâs New Infinite Range Syntax: (0..)This Christmas, Ruby 2.6 will be released with support for a new syntax denoting an infinite range! Introducing Ruby 2.6âs Endless Range On Christmas Day, 2018, Ruby 2.6 will be released with support for a new syntax denoting an endless range: 42.. #=> 42..nil # yes, this is infinite! So why do we need this new syntax? Up to this point, it has been a bit clun
æ¦è¦ åèè ã®è¨±è«¾ãå¾ã¦ç¿»è¨³ã»å ¬éãããã¾ãã è±èªè¨äº: Writing C and Sharing Memory... in Ruby! åæå ¬éæ¥: 2017/12/27 èè : Piotr Szmielew ãµã¤ã: Rebased.pl æ¥æ¬èªã¿ã¤ãã«ã¯å 容ã«å³ãããã®ã«ãã¾ããã 楽ããç»åã¯ãã¹ã¦è±èªè¨äºããã®å¼ç¨ã§ãã ã¯ããã« ãç§å¦ã®åã«ããã¦ç¡è¶ããããä»åã®ã¨ãã½ã¼ãã§ã¯Rubyã§Cæ¡å¼µãæ¸ãæ¹æ³ãè¦ã¦ã¿ããã¨ã«ãã¾ãããã»ã©å®³ã¯ãªããããªã®ã§ãRubyããã»ã¹éã§ã¡ã¢ãªãå ±æãã¦ç¸äºéä¿¡ããã¨ããã¾ã§ãã£ã¦ã¿ã¾ãããã¡ããããã»ã¹ã®åé¢ãforkã®åé¢ãªã©ä½ã§ããããã§ãã ããªããããªãã¨ãï¼ã©ããã¦ã©ããã¦ï¼ãã¨è¨ããããã§ããããã¡ãããç§å¦ã®ããã«:ã³ããã±ã¢ãã¡ãã 訳注: ã²ã¼ã ãPortal 2ãã®æåãªã»ãªãã ããã§ãã å 責æ¡é : æ¬è¨äºã§ã¯ãä»
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}