[ruby-cvs:61718] ko1:r54556 (trunk): * test/ruby/test_basicinstructions.rb: add a test to check access

ko1 at ruby-lang.org ko1 at ruby-lang.org
Wed Apr 13 12:03:37 JST 2016


ko1	2016-04-13 12:03:37 +0900 (Wed, 13 Apr 2016)

  New Revision: 54556

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54556

  Log:
    * test/ruby/test_basicinstructions.rb: add a test to check access
      instance variables on special const objects.
    
      All of such objects are frozen, so that we can not set instance
      variables for them. But we can read instance variables and return
      default value (nil).

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_basicinstructions.rb


More information about the ruby-cvs mailing list