Never stop learning /g/.
>>56151694
This interests me, what's the catch?
>>56151738
It's not used outside of Ruby on Rails.
>>56151694
Ruby is shit
>>56151694
b-but anon he has at least two kids
https://www.youtube.com/watch?v=bkh0gPf4Noc
>>56151773
Puppet and Chef both use it for configs and definitions, iirc. That's already a use.
>>56151738
It's not as popular as Python, and the western community has a lot of posers.
http://tryruby.org/levels/1/challenges/0
>>56151773
It is, but most people learn it for Rails.
post an extract of some ruby code you fuckin poor shill
sell me this pen
>>56151789
Don't believe Guido's lies. It's a trick.
>>56151694
What percentage of magical girls use ruby for their daily activities?
This is important info.
>>56151833
A possible 100%
Can confirm
Am magical grill
>>56151849
I'm pretty sure Nanoha used C, why did she change?
>>56151694
I think I'll stick with ASP.NET
>>56151813require 'open-uri'
word_count = {}
File.open(ARGV[0]) do |file|
word_count.default = 0
file.read.split.each do |word|
word_count[word] += 1
end
end
word_count.each do |key, value|
print "#{key}\t=>\t#{value}\n"
end
>>56151954require 'open-uri'
Whoops, I forgot I changed what I was writing midway in.
>>56151899
>ASPERG.NET
>>56151789
who pays this guy to keep developing ruby
>>56151987
That seems to change from time to time. He got payed from some economical bureau to implement mruby for some time.
>>56151987
Expert developers.
>>56151954word_count = Hash.new(0)
ARGF.each_line do |line|
line.split.each do |word|
word_count[word] += 1
end
end
>>56152237
Much better.