Never stop learning Sup Forums.
Never stop learning Sup Forums
Other urls found in this thread:
youtube.com
tryruby.org
twitter.com
This interests me, what's the catch?
It's not used outside of Ruby on Rails.
Ruby is shit
b-but user he has at least two kids
youtube.com
Puppet and Chef both use it for configs and definitions, iirc. That's already a use.
It's not as popular as Python, and the western community has a lot of posers.
tryruby.org
It is, but most people learn it for Rails.
post an extract of some ruby code you fuckin poor shill
sell me this pen
Don't believe Guido's lies. It's a trick.
What percentage of magical girls use ruby for their daily activities?
This is important info.
A possible 100%
Can confirm
Am magical grill
...
I'm pretty sure Nanoha used C, why did she change?
I think I'll stick with ASP.NET
require '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
require 'open-uri'
Whoops, I forgot I changed what I was writing midway in.
>ASPERG.NET
who pays this guy to keep developing ruby
That seems to change from time to time. He got payed from some economical bureau to implement mruby for some time.
Expert developers.
word_count = Hash.new(0)
ARGF.each_line do |line|
line.split.each do |word|
word_count[word] += 1
end
end
Much better.