2012年1月15日 ... 2012-01-15: githubのWiki(https://github.com/ruby-no-kai/official/wiki )に移行しま した。 このWikiのページはすべて凍結しました。以後は、github ...
Link: jp.rubyist.net
Last modified:2007/07/08 14:33:01 Keyword(s): References:[RubyKaigi2007速報ログ ]
I've known Ruby since she was just 4 or 5 years old. Of course, I knew her parents, Smalltalk and Perl, and had a nodding acquaintance with Aunt Clu, so I knew she was in good hands. I watched with pleasure as she took her first tentative steps into the wide world. Even as a young lan...
Rubyist Hotlinks 【第 31 回】 樽家昌也さん Rubyist へのインタビュー企画。今回はたるいさんにお話を伺いました。(難易度:ポケコン) Ruby 2.0.0 リリース特集 編集:ささだ 2013 年 2 月 24 日に Ruby 2.0.0 がリリースされました。しかし、何が変わったか、あまり情報がまとまっていないのが実情です。そこで、Ruby 開発者の人たちに Ruby 2.0.0 の機能や改善についてご紹介頂き、特集記事としてまとめました。 このページは各記事の紹介と、著名 Rubyist によるコメントを掲載しています。(難易度:移...
Ruby 2.0.0 was released at 2/24/2013 (Ruby 2.0.0-p0 is released ). Please check the official news for basic information such as how to download the source code. Here's a highlight of the new features quoted from the news: Language core featuresKeyword arguments, which give flexibility...
class AcceptAnswerActivity < AbstractActivity attribute :answer attribute :questioner validates_signin_of :questioner validate do errors.add :questioner, :accepter_should_questioner unless question.author?(questioner) errors.add :question, :question_should_be_open unless question.stat...
fizzbuzz = Enumerator.new{|yielder| 1.upto(Float::INFINITY) |n| case when n % 15 == 0 then yielder << "FizzBuzz" when n % 5 == 0 then yielder << "Buzz" when n % 3 == 0 then yielder << "Fizz" else yielder << n.to_s end end } fizzbuzz.each do |str| puts str end
$ ruby -e 'module M; refine String do end; end' -e:1: warning: Refinements are experimental, and the behavior may change in future versions of Ruby!
files=2000 begin files.times{|i| file = "req/file#{i}.rb" open(file,"wb"){} } rescue end 100.times{ $LOAD_PATH << "/" } #gemsの代わり $LOAD_PATH << "." start = Time.now cnt=0 files.times{|j| file = "req/file#{j}.rb" require file cnt +=1 puts "#{cnt}, #{Time.now - start}" if cnt % 100 == 0 }