From c09cea5e1ba4e6d103fad9e6c6cbf29560abf78b Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 20 Jul 2006 17:36:36 +0000 Subject: * object.c (rb_mod_attr): make Module#attr to be an alias to attr_reader. [RCR#331] * ruby.h: export classes/modules to implement sandbox. [ruby-core:08283] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/sync.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/sync.rb') diff --git a/lib/sync.rb b/lib/sync.rb index 566cfbfb2d..93474e1caa 100644 --- a/lib/sync.rb +++ b/lib/sync.rb @@ -232,13 +232,13 @@ module Sync_m end end - attr :sync_mode, true + attr_accessor :sync_mode - attr :sync_waiting, true - attr :sync_upgrade_waiting, true - attr :sync_sh_locker, true - attr :sync_ex_locker, true - attr :sync_ex_count, true + attr_accessor :sync_waiting + attr_accessor :sync_upgrade_waiting + attr_accessor :sync_sh_locker + attr_accessor :sync_ex_locker + attr_accessor :sync_ex_count private -- cgit v1.2.3