> "#{a}.#{b}.#{c}.#{d}".to_i.freeze

I don't think that does what you expect. Try it in irb.

-- 
Posted via http://www.ruby-forum.com/.