Meet our team Find out more about the people behind one of the largest social discovery platforms in the world. Read more Hack attack We regularly down tools to work together for a day on killer ideas and fun hacks with our data. Read more
Ruby 2.0 has a cool new feature that many people talk about: TracePoint. TracePoint essentially allows you to hook into Rubyâs events and listen for events. Being curious and since I just started a brand new Rails 4/Ruby 2 app, I decided to write a little middleware and see what Rails is up to when handling incoming requests. Here is my TracePoint Rack Middleware. class TracePoint class Middleware
Ruby 2.0.0-p0 is released Ruby2.0ããªãªã¼ã¹ããã¾ãããHomebrewã¨rbenvã«ããã¤ã³ã¹ãã¼ã«æé ã§ããrbenv/OpenSSL/Readlineãã¤ã³ã¹ãã¼ã«æ¸ã¿ã§ææ°ã«ããå ´åã¯åãã¼ã«ãbrew upgrade <formula> ãã¦ãã ããã Environments Mac OS X 10.8.2 Mountain Lion Homebrew 0.9.4 Update Homebrew Formula brew update OpenSSL, Readline brew install openssl brew install readline ruby-build brew uninstall ruby-build brew install --HEAD ruby-build --HEADã§ã¤ã³ã¹ãã¼ã«æ¸ã¿ã ã¨ä»¥ä¸ã®ã¨ã©ã¼ãåºãã®ã§ã
ruby-buildãã¢ãããã¼ãããã $ brew update $ brew upgrade ruby-build2.0.0-p0ããã¦ãã®ã§ $ rbenv install ... 2.0.0-p0 ...ã¤ã³ã¹ãã¼ã«ãããã¨ãããã¨ã©ã£ãã $ rbenv install 2.0.0-p0 Downloading openssl-1.0.1e.tar.gz... -> https://www.openssl.org/source/openssl-1.0.1e.tar.gz Installing openssl-1.0.1e... Installed openssl-1.0.1e to /Users/xxx/.rbenv/versions/2.0.0-p0 Downloading ruby-2.0.0-p0.tar.gz... -> http://ftp.ruby-lang.org
Thereâs a Portugese translation by Rodrigo Martins if you prefer. A quick summary of some of the new features of Ruby 2.0.0: Language Changes Keyword arguments 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 # Ruby 1.9: # (From action_view/helpers/text_helper.rb) def cycle(first_value, *values) options = values.extract_options! name = options.fetch(:name, 'default') # ... end # Ruby 2.0: def
Rubyã¢ã½ã·ã¨ã¼ã·ã§ã³çäºé· 2013å¹´â1993/2(Rubyéçºéå§)æ¦å¿µãä½ã£ã¦ã ããããã®æµãã§éçºããã£ãâ hello worldããåºãã¾ã§ã«åå¹´ã§â¦ (æååã¨ããæ¦å¿µãä½ã£ã¦ãIOæ¦å¿µãªã©â¦) 1995/12 å ¬é 19966/12 1.0 ä¾ã«ãã£ã¦å¥æ°ãã¼ã¸ã§ã³ãéçºçãå¶æ°ãã¼ã¸ã§ã³ãå®å®çã¨ããã 2003/8 1.8 2007/12 1.9.0 2011/10 1.9.3 (ãããã2.0ãâ¦) rubyconf2001 ruby2ã«è¨å æ°VM æ°GC ãã¤ãã£ãã¹ã¬ãã åãè¾¼ã¿API å¿ççãå£ã ã³ã¢å®è£ ã®ç½®ãæã perl pythonã®äººãããé ãã¦ä½¿ãã¢ãã«ãªããªããã¨ããã¯ã¬ã¼ã æ°VM YARV (1.9ãã) æ°GC ä¸ä»£å¥GC(ãããããã¢ã«ã´ãªãºã ã®GCãå®è£ ããããã«ãã?) 2.0ã§ã¯bitmap markingã§ã¢ã«ã´ãªãºã ãæ¹å
Matz is not a threading guy Published on November 08, 2012 by Jesse Storimer I attended my very first Rubyconf last week. There were certainly some common themes that I kept hearing over and over again throughout the course of the conference. Among other things, there was JRuby, threading, the GVL, and MRI 2.0. We got to see a few talks about the new features in MRI 2.0. One of the oft-discussed f
When Heroku first launched you could only use one version of Ruby: 1.8.6. As the Ruby implementation matured and improved, so did Heroku. We recently announced the ability to specify your ruby version on Heroku, and we are happy to announce the first preview-build of Ruby available: starting today you can use Ruby 2.0 preview1 on Heroku. Ruby 2.0 The Ruby core team has been hard at work on Ruby 2.
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}