Use alias to implement `attr` method
MODIFY
mrblib/00class.rb
mrblib/00class.rb
@@ -5,9 +5,10 @@ class Module
attr_writer(*names)
end
# 15.2.2.4.11
- def attr(name)
- attr_reader(name)
- end
+ alias attr attr_reader
+ #def attr(name)
+ # attr_reader(name)
+ #end
# 15.2.2.4.27
def include(*args)

Use alias to implement `attr` method