episode-116/store/vendor/plugins/selenium-on-rails/lib/selenium_on_rails/test_builder.rb
# If _arg_ is an array formats _arg_ to a textual representation.
# Otherwise return unchanged.

If _arg_ is an array formats _arg_ to a textual representation.
Otherwise return unchanged.
If _arg_ is an array formats _arg_ to a textual representation . Otherwise return unchanged .
def collection_arg arg
    if arg.is_a? Array
      arg.collect {|e| e.gsub(/[\\,]/) {|s| "\\#{s}" } }.join(',')
    else
      arg
    end
  end
def collection_arg arg if arg . is_a? Array arg . collect { | e | e . gsub ( / [ \\ ,] / ) { | s | "\\#{s}" } } . join ( ',' ) else arg end end
If _arg_ is an array formats _arg_ to a textual representation.
If _arg_ is an array formats _arg_ to a textual representation .
arg