From b2fceae461c8c266136cd881ce7969a05061cada Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Fri, 19 Aug 2016 14:10:23 +0900 Subject: renamed class.rb and error.rb to ensure they are read first; ref #3197 --- mrblib/00class.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 mrblib/00class.rb (limited to 'mrblib/00class.rb') diff --git a/mrblib/00class.rb b/mrblib/00class.rb new file mode 100644 index 000000000..39e0d5091 --- /dev/null +++ b/mrblib/00class.rb @@ -0,0 +1,11 @@ +class Module + # 15.2.2.4.12 + def attr_accessor(*names) + attr_reader(*names) + attr_writer(*names) + end + # 15.2.2.4.11 + def attr(name) + attr_reader(name) + end +end -- cgit v1.2.3