From e0d6430f63c4cbe0c71ce82ee23284671389a818 Mon Sep 17 00:00:00 2001 From: mimaki Date: Fri, 20 Apr 2012 09:39:03 +0900 Subject: add mruby sources --- mrblib/error.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 mrblib/error.rb (limited to 'mrblib/error.rb') diff --git a/mrblib/error.rb b/mrblib/error.rb new file mode 100644 index 000000000..88da1825c --- /dev/null +++ b/mrblib/error.rb @@ -0,0 +1,9 @@ +# +# Exception +# +class Exception + # 15.2.22.4.1 + def self.exception(*args, &block) + self.new(*args, &block) + end +end -- cgit v1.2.3