lispy 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/lispy.rb +2 -2
- metadata +2 -2
data/lib/lispy.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
class Lispy
|
2
|
-
VERSION = '0.0.
|
2
|
+
VERSION = '0.0.5'
|
3
3
|
|
4
4
|
@@methods_to_keep = /^__/, /class/, /instance_/, /method_missing/, /object_id/
|
5
5
|
|
@@ -12,7 +12,7 @@ class Lispy
|
|
12
12
|
@scope.last << [sym, args]
|
13
13
|
if block
|
14
14
|
# there is some simpler recursive way of doing this, will fix it shortly
|
15
|
-
scope.last.last << []
|
15
|
+
@scope.last.last << []
|
16
16
|
@scope.push(@scope.last.last.last)
|
17
17
|
instance_exec(&block)
|
18
18
|
@scope.pop
|