From: Siratinee Sukachai Date: 2011-04-21T18:34:59+09:00 Subject: Re: error: undefined method Yeah, I'm sorry. Actually, I mean the code is class ConvertToYaml ... text.each{|t| array = splitDot(t) } ... private def splitDot(s) return s.split('.') end end -- Posted via http://www.ruby-forum.com/.