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
![Venntro Development](https://cdn-ak-scissors.b.st-hatena.com/image/square/ddad474c66843bb21d56ef09ee8e02638cd7a993/height=288;version=1;width=512/https%3A%2F%2Fdev.venntro.com%2Fimages%2Fvenntro-logo-1200x675.png)
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
In computer programming, named parameters or keyword arguments refer to a computer language’s support for function calls that clearly state the name of each parameter within the function call itself. © Wikipedia Right now (I mean in Ruby <= 1.9.3) you can ‘emulate’ it with passing a hash as an argument to a method: 1 2 3 4 5 def foo(options = {}) puts "#{options[:bar]} #{options[:buz]}" end foo(ba
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く