Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #7295
| Newsgroups | comp.lang.ruby |
|---|---|
| Date | 2016-10-21 04:38 -0700 |
| References | <9589d281-0b8c-4c61-ba55-6992cc2957c8@googlegroups.com> |
| Message-ID | <c83d2efa-7baf-47e0-8146-d17188cf2d33@googlegroups.com> (permalink) |
| Subject | Re: undefined local variable or method `city' for #<Context:0x10099d8> |
| From | Pratap Patil <pratap477@gmail.com> |
On Friday, December 11, 2015 at 11:30:45 AM UTC+5:30, Cai Gengyang wrote: > first_name = gets.chomp > last_name = city > > undefined local variable or method `city' for #<Context:0x10099d8> > > What does "undefined local variable or method `city' for #<Context:0x10099d8>" mean? Tried searching in Google, but no results were returned ... Define city varible before assigning to another varibles first_name = gets.chomp city = '' last_name = city
Back to comp.lang.ruby | Previous | Next — Previous in thread | Find similar
undefined local variable or method `city' for #<Context:0x10099d8> gengyangcai@gmail.com - 2015-12-10 22:00 -0800
Re: undefined local variable or method `city' for #<Context:0x10099d8> Robert Klemme <shortcutter@googlemail.com> - 2015-12-11 07:09 +0100
Re: undefined local variable or method `city' for #<Context:0x10099d8> gengyangcai@gmail.com - 2015-12-10 22:17 -0800
Re: undefined local variable or method `city' for #<Context:0x10099d8> Pratap Patil <pratap477@gmail.com> - 2016-10-21 04:38 -0700
csiph-web