lib/bowline/ext/array.rb in bowline-0.1.6 vs lib/bowline/ext/array.rb in bowline-0.3.9
- old
+ new
@@ -1,5 +1,5 @@
class Array
def to_js(opts = {})
- collect {|i| i.to_js(opts) }
+ map {|i| i.to_js(opts) }
end
end
\ No newline at end of file