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/rdoc/parsers/parse_rb.rb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'lib/rdoc') diff --git a/lib/rdoc/parsers/parse_rb.rb b/lib/rdoc/parsers/parse_rb.rb index 4fe5180ba6..0186b023a1 100644 --- a/lib/rdoc/parsers/parse_rb.rb +++ b/lib/rdoc/parsers/parse_rb.rb @@ -466,11 +466,10 @@ class RubyLex @exception_on_syntax_error = true end - attr :skip_space, true - attr :read_auto_clean_up, true - attr :exception_on_syntax_error, true - - attr :indent + attr_accessor :skip_space + attr_accessor :read_auto_clean_up + attr_accessor :exception_on_syntax_error + attr_reader :indent # io functions def line_no -- cgit v1.2.3