removed the (too) fancy dsl. Also introduce register indirection
This commit is contained in:
@ -24,14 +24,3 @@ module Support
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class Binding
|
||||
#these are defined in 2.1 and thus the definitions should be conditional. TODO
|
||||
def local_variable_defined? sym
|
||||
vars = eval("local_variables")
|
||||
vars.include? sym
|
||||
end
|
||||
def local_variable_get sym
|
||||
eval(sym.to_s)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user