Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #3300

Re: error: undefined method

From Siratinee Sukachai <ploy.sukachai@gmail.com>
Newsgroups comp.lang.ruby
Subject Re: error: undefined method
Date 2011-04-21 04:34 -0500
Organization Service de news de lacave.net
Message-ID <2e2ff191871d12ac4711f321acc82be5@ruby-forum.com> (permalink)
References <0bfc818aaade1cf1852b483c69c7074b@ruby-forum.com>

Show all headers | View raw


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/.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

error: undefined method Siratinee Sukachai <ploy.sukachai@gmail.com> - 2011-04-21 02:55 -0500
  Re: error: undefined method Brian Candler <b.candler@pobox.com> - 2011-04-21 04:20 -0500
  Re: error: undefined method Siratinee Sukachai <ploy.sukachai@gmail.com> - 2011-04-21 04:34 -0500
    Re: error: undefined method Gunther Diemant <g.diemant@gmx.net> - 2011-04-21 06:59 -0500

csiph-web