1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
matz 2006-07-20 17:36:36 +00:00
parent b5d9cbe8e8
commit c09cea5e1b
18 changed files with 44 additions and 41 deletions

View file

@ -19,9 +19,9 @@ class Tracer
@stdout = STDOUT
@verbose = false
class << self
attr :verbose, true
attr_accessor :verbose
alias verbose? verbose
attr :stdout, true
attr_accessor :stdout
end
EVENT_SYMBOL = {