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


Groups > comp.lang.ruby > #5085

Re: CORE - Object Instantiation and Location

From Bala TS <bdeveloper01@yahoo.com>
Newsgroups comp.lang.ruby
Subject Re: CORE - Object Instantiation and Location
Date 2011-05-26 05:34 -0500
Organization Service de news de lacave.net
Message-ID <6dbb4ae4e2ab78b40605971295b9976a@ruby-forum.com> (permalink)
References <5353d8f7-5cb4-4a18-8df1-525a96ea4f71@j28g2000vbp.googlegroups.com>

Show all headers | View raw


I think you can use class variable


like this
@@name = name
@@where = "don't know"

 if you initialization then you can get like this way
=> Nancy ................ Don't knonw

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

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


Thread

CORE - Object Instantiation and Location Ilias Lazaridis <ilias@lazaridis.com> - 2011-05-26 01:23 -0700
  Re: CORE - Object Instantiation and Location Roger Braun <roger@rogerbraun.net> - 2011-05-26 05:31 -0500
    Re: CORE - Object Instantiation and Location Ilias Lazaridis <ilias@lazaridis.com> - 2011-05-26 12:54 -0700
      Re: CORE - Object Instantiation and Location Ryan Davis <ryand-ruby@zenspider.com> - 2011-05-26 15:53 -0500
        Re: CORE - Object Instantiation and Location James Gray <james@graysoftinc.com> - 2011-05-26 16:35 -0500
          Re: CORE - Object Instantiation and Location Christopher Dicely <cmdicely@gmail.com> - 2011-05-27 09:47 -0500
            Re: CORE - Object Instantiation and Location Christopher Dicely <cmdicely@gmail.com> - 2011-05-27 09:54 -0500
              Re: CORE - Object Instantiation and Location Ilias Lazaridis <ilias@lazaridis.com> - 2011-05-29 13:07 -0700
    Re: CORE - Object Instantiation and Location Ilias Lazaridis <ilias@lazaridis.com> - 2011-05-26 21:51 -0700
      Re: CORE - Object Instantiation and Location Ilias Lazaridis <ilias@lazaridis.com> - 2011-05-30 00:54 -0700
        Re: CORE - Object Instantiation and Location Jesús Gabriel y Galán <jgabrielygalan@gmail.com> - 2011-05-30 03:06 -0500
          Re: CORE - Object Instantiation and Location Ilias Lazaridis <ilias@lazaridis.com> - 2011-05-30 02:03 -0700
            Re: CORE - Object Instantiation and Location Robert Klemme <shortcutter@googlemail.com> - 2011-05-30 10:00 -0500
              Re: CORE - Object Instantiation and Location Ilias Lazaridis <ilias@lazaridis.com> - 2011-05-30 18:38 -0700
                Re: CORE - Object Instantiation and Location Robert Klemme <shortcutter@googlemail.com> - 2011-05-31 03:28 -0500
                Re: CORE - Object Instantiation and Location Ilias Lazaridis <ilias@lazaridis.com> - 2011-05-31 06:01 -0700
  Re: CORE - Object Instantiation and Location Bala TS <bdeveloper01@yahoo.com> - 2011-05-26 05:34 -0500

csiph-web