From 3e8a088f48ea6030191c15457aafdd1b30387ca0 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Sun, 13 Apr 2014 15:27:34 -0500 Subject: Ruby: fixes to enable self-hosting. Also, other cleanup and sync between steps. --- ruby/types.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ruby/types.rb') diff --git a/ruby/types.rb b/ruby/types.rb index b16e391..72d24d1 100644 --- a/ruby/types.rb +++ b/ruby/types.rb @@ -31,8 +31,11 @@ def sequential?(obj) return obj.is_a?(List) || obj.is_a?(Vector) end -class Function < Proc +class Proc # re-open and add meta attr_accessor :meta +end + +class Function < Proc attr_accessor :ast attr_accessor :env attr_accessor :params -- cgit v1.2.3