nicer scope inspects

This commit is contained in:
Jeremy Ashkenas
2010-01-04 09:43:50 -05:00
parent 5efaff506c
commit da9e38808c

View File

@@ -56,6 +56,10 @@ module CoffeeScript
@variables.select {|k, v| v == :var }.map {|pair| pair[0].to_s }.sort
end
def inspect
"<Scope:#{__id__} #{@variables.inspect}>"
end
end
end