lib/rubyvis/javascript_behaviour.rb in rubyvis-0.1.1 vs lib/rubyvis/javascript_behaviour.rb in rubyvis-0.1.2
- old
+ new
@@ -54,11 +54,11 @@
if self.arity==0
obj.instance_eval(&self)
else
obj.instance_exec(*arguments,&self)
end
- end
+ end
# Same as js_apply, but using explicit arguments
- def js_call(obj,*args)
+ def js_call(obj,*args)
js_apply(obj,args)
- end
+ end
end