Use alias to implement `attr` method
@@ -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)
