add a helper to get the vool equivalent of a ruby class
This commit is contained in:
@ -12,6 +12,12 @@ module Ruby
|
||||
strings.collect{|str| prefix + str}.join("\n")
|
||||
end
|
||||
|
||||
def vool_brother
|
||||
eval "Vool::#{class_name}"
|
||||
end
|
||||
def class_name
|
||||
self.class.name.split("::").last
|
||||
end
|
||||
end
|
||||
|
||||
class Expression
|
||||
|
Reference in New Issue
Block a user